Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Tell NPM to put its build cache inside $HOME/coursebuilder_resources_...
Browse files Browse the repository at this point in the history
By default, npm caches into $HOME/.npm.  We want CB to be as self-contained
and non-interfering as possible, so have the npm cache be with the rest of
the Course Builder resources
	Change on 2015/12/09 by mgainer <mgainer@google.com>
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=109805104
  • Loading branch information
mgainer committed Dec 9, 2015
1 parent feb4572 commit 416d2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coursebuilder/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ if need_install node ChangeLog Version 0.12.4 ; then
rm node-download.tgz
echo Installing Karma
pushd $RUNTIME_HOME/node
./bin/npm install jasmine-core@2.3.4 phantomjs@1.9.8 karma@0.12.36 \
./bin/npm --cache $RUNTIME_HOME/node/cache install jasmine-core@2.3.4 phantomjs@1.9.8 karma@0.12.36 \
karma-jasmine@0.3.5 karma-phantomjs-launcher@0.2.0 karma-jasmine-jquery \
--save-dev
popd
Expand Down

0 comments on commit 416d2d9

Please sign in to comment.