Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
#1656: Simplify dep installation
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 18, 2016
1 parent 91105f7 commit afb1202
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ before_install:
# Global install some npm
- npm install -g grunt-cli

# Install the app deps
- cd "$TRAVIS_BUILD_DIR/app"
- npm install --production
- cd "$TRAVIS_BUILD_DIR"

# Install kalabox
- sudo apt-get -y update
- sudo apt-get -y install iptables cgroup-bin bridge-utils curl
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v2.1.0-rc.2
===========

* Simplify installation of deps. [#1656](https://github.com/kalabox/kalabox/issues/1656)

v2.1.0-rc.1
===========

Expand Down
6 changes: 1 addition & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ module.exports = function(grunt) {
cwd: 'build'
}
},
command: [
'npm install --production',
'cd app',
'npm install --production'
].join(' && ')
command: 'npm install --production'
}
}

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"url": "http://github.com/kalabox/kalabox-app-php",
"email": "[email protected]"
},
"scripts" : {
"postinstall" : "cd app && npm install"
},
"dependencies": {
"lodash": "^3.7.0"
},
Expand Down

0 comments on commit afb1202

Please sign in to comment.