Skip to content

Commit

Permalink
Merge pull request #8 from bzz/fix-build
Browse files Browse the repository at this point in the history
Fixing app build process
  • Loading branch information
Madhuka committed Jun 26, 2015
2 parents 79cdaa4 + 07901e4 commit b84075e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Zeppelin is a collaborative data analytic and visualization tool for distributed
1. NodeJS with npm
2. Bower

You can used
* bower install
* npm install
Run
* `npm install` first
* `bower install` then

This will Download all the dependencies including node js and npm

### Build the application
Expand Down
7 changes: 6 additions & 1 deletion bower
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
"node/node" "./node_modules/bower/bin/bower" "$@"
node="node/node"

if hash "node" 2>/dev/null ; then
node="node"
fi
"${node}" "./node_modules/bower/bin/bower" "$@"
7 changes: 6 additions & 1 deletion grunt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
"node/node" "./node_modules/.bin/grunt" "$@"
node="node/node"

if hash "node" 2>/dev/null ; then
node="node"
fi
"${node}" "./node_modules/.bin/grunt" "$@"

6 changes: 4 additions & 2 deletions package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"devDependencies": {
"grunt": "^0.4.5",
"grunt-autoprefixer": "^3.0.0",
"grunt-cli": "^0.1.13",
"grunt-concurrent": "^1.0.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.0",
Expand All @@ -29,12 +30,13 @@
"karma-jasmine": "*",
"karma-phantomjs-launcher": "*",
"load-grunt-tasks": "^3.1.0",
"time-grunt": "^1.0.0"
"time-grunt": "^1.0.0",
"bower": "1.4.1"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "grunt test"
}
}
}

0 comments on commit b84075e

Please sign in to comment.