couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [35/50] [abbrv] git commit: Add bbb/grunt wrapper scripts
Date Mon, 11 Feb 2013 11:12:14 GMT
Add bbb/grunt wrapper scripts


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c32cc4a2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c32cc4a2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c32cc4a2

Branch: refs/heads/fauxton
Commit: c32cc4a2df6514408568730beb9c679f4971c1a7
Parents: f1016d9
Author: Russell Branca <chewbranca@gmail.com>
Authored: Fri Feb 1 12:03:11 2013 -0800
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Fri Feb 1 12:03:11 2013 -0800

----------------------------------------------------------------------
 src/fauxton/bin/bbb   |    6 ++++++
 src/fauxton/bin/grunt |    6 ++++++
 src/fauxton/readme.md |    9 +++++----
 3 files changed, 17 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/c32cc4a2/src/fauxton/bin/bbb
----------------------------------------------------------------------
diff --git a/src/fauxton/bin/bbb b/src/fauxton/bin/bbb
new file mode 100755
index 0000000..bce5a07
--- /dev/null
+++ b/src/fauxton/bin/bbb
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+REL_PATH="`dirname \"$0\"`"
+BBB_PATH="$REL_PATH/../node_modules/.bin/bbb"
+
+$BBB_PATH $*

http://git-wip-us.apache.org/repos/asf/couchdb/blob/c32cc4a2/src/fauxton/bin/grunt
----------------------------------------------------------------------
diff --git a/src/fauxton/bin/grunt b/src/fauxton/bin/grunt
new file mode 100755
index 0000000..4bed8e8
--- /dev/null
+++ b/src/fauxton/bin/grunt
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+REL_PATH="`dirname \"$0\"`"
+GRUNT_PATH="$REL_PATH/../node_modules/.bin/grunt"
+
+$GRUNT_PATH $*

http://git-wip-us.apache.org/repos/asf/couchdb/blob/c32cc4a2/src/fauxton/readme.md
----------------------------------------------------------------------
diff --git a/src/fauxton/readme.md b/src/fauxton/readme.md
index 5f351b9..d5da23f 100644
--- a/src/fauxton/readme.md
+++ b/src/fauxton/readme.md
@@ -33,13 +33,14 @@ development and build tools.
     npm install
 
     # Add node_modules/.bin to your path
-    export PATH=./node_modules/.bin:$PATH
+    # export PATH=./node_modules/.bin:$PATH
+		# Or just use the wrappers in ./bin/
 
     # Development mode, non minified files
-    bbb couchdebug
+    ./bin/bbb couchdebug
 
     # Or fully compiled install
-    # bbb couchdb
+    # ./bin/bbb couchdb
 
 ### Start CouchDB with Fauxton Installed ###
 
@@ -50,6 +51,6 @@ development and build tools.
 
 Complete the setup process as above and run:
 
-    bbb couchapp_setup couchapp_install
+    ./bin/bbb couchapp_setup couchapp_install
 
 Install [phantomjs](http://phantomjs.org/) for tests.


Mime
View raw message