You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/09/06 00:47:08 UTC

[26/26] git commit: cleanup ignores and add missing windows cmd files, if you want to add a bundledDependency node_module use -f

cleanup ignores and add missing windows cmd files, if you want to add a bundledDependency node_module use -f


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/0a191530
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/0a191530
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/0a191530

Branch: refs/heads/3.6.x
Commit: 0a1915308621b8e7cab3f86e5279f011f3360055
Parents: 8695d0c
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Sep 5 15:46:02 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Sep 5 15:46:02 2014 -0700

----------------------------------------------------------------------
 .gitignore                     |  4 +++-
 wp8/node_modules/.bin/nopt     | 16 +++++++++++++++-
 wp8/node_modules/.bin/nopt.cmd |  5 +++++
 wp8/node_modules/.bin/shjs     | 16 +++++++++++++++-
 wp8/node_modules/.bin/shjs.cmd |  5 +++++
 5 files changed, 43 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0a191530/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 9a3f669..3408bf0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,4 +21,6 @@ Thumbs.db
 
 *.DS_Store
 
-wp8/node_modules/jasmine-node
+wp8/framework/Bin/*
+
+wp8/node_modules/

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0a191530/wp8/node_modules/.bin/nopt
----------------------------------------------------------------------
diff --git a/wp8/node_modules/.bin/nopt b/wp8/node_modules/.bin/nopt
index 6b6566e..25995f3 120000
--- a/wp8/node_modules/.bin/nopt
+++ b/wp8/node_modules/.bin/nopt
@@ -1 +1,15 @@
-../nopt/bin/nopt.js
\ No newline at end of file
+#!/bin/sh
+basedir=`dirname "$0"`
+
+case `uname` in
+    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+esac
+
+if [ -x "$basedir/node" ]; then
+  "$basedir/node"  "$basedir/../nopt/bin/nopt.js" "$@"
+  ret=$?
+else 
+  node  "$basedir/../nopt/bin/nopt.js" "$@"
+  ret=$?
+fi
+exit $ret

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0a191530/wp8/node_modules/.bin/nopt.cmd
----------------------------------------------------------------------
diff --git a/wp8/node_modules/.bin/nopt.cmd b/wp8/node_modules/.bin/nopt.cmd
new file mode 100644
index 0000000..c8e8216
--- /dev/null
+++ b/wp8/node_modules/.bin/nopt.cmd
@@ -0,0 +1,5 @@
+@IF EXIST "%~dp0\node.exe" (
+  "%~dp0\node.exe"  "%~dp0\..\nopt\bin\nopt.js" %*
+) ELSE (
+  node  "%~dp0\..\nopt\bin\nopt.js" %*
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0a191530/wp8/node_modules/.bin/shjs
----------------------------------------------------------------------
diff --git a/wp8/node_modules/.bin/shjs b/wp8/node_modules/.bin/shjs
index a044997..9908675 120000
--- a/wp8/node_modules/.bin/shjs
+++ b/wp8/node_modules/.bin/shjs
@@ -1 +1,15 @@
-../shelljs/bin/shjs
\ No newline at end of file
+#!/bin/sh
+basedir=`dirname "$0"`
+
+case `uname` in
+    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+esac
+
+if [ -x "$basedir/node" ]; then
+  "$basedir/node"  "$basedir/../shelljs/bin/shjs" "$@"
+  ret=$?
+else 
+  node  "$basedir/../shelljs/bin/shjs" "$@"
+  ret=$?
+fi
+exit $ret

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0a191530/wp8/node_modules/.bin/shjs.cmd
----------------------------------------------------------------------
diff --git a/wp8/node_modules/.bin/shjs.cmd b/wp8/node_modules/.bin/shjs.cmd
new file mode 100644
index 0000000..9ce460a
--- /dev/null
+++ b/wp8/node_modules/.bin/shjs.cmd
@@ -0,0 +1,5 @@
+@IF EXIST "%~dp0\node.exe" (
+  "%~dp0\node.exe"  "%~dp0\..\shelljs\bin\shjs" %*
+) ELSE (
+  node  "%~dp0\..\shelljs\bin\shjs" %*
+)
\ No newline at end of file