Skip to content

Commit

Permalink
Make npm and bower cache within this directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Klathmon committed Dec 26, 2014
1 parent 178d081 commit 19fea46
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"directory": "app/bower_components"
"directory": "app/bower_components",
"storage": {
"cache": ".bower/cache",
"packages": ".bower/cache",
"registry": ".bower/registry"
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules
app/bower_components
add-env-vars.sh
coverage
.bower
.npm
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache = .npm/cache
2 changes: 2 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ module.exports = (grunt) ->
APP_DIR + '/bower_components'
'node_modules'
'coverage'
'.bower'
'.npm'
]
postRelease:
[
Expand Down
10 changes: 8 additions & 2 deletions install-all.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
npm install
npm install -g grunt-cli
npm install -g bower
gem install sass

if ! gem spec sass > /dev/null 2>&1; then
gem install sass
else
gem update sass
fi

npm install
bower install

0 comments on commit 19fea46

Please sign in to comment.