Skip to content
Browse files

remove debug

  • Loading branch information...
1 parent 66cdced commit 4743894ca48704b2188c06c3d1f66704bc466633 @ddollar ddollar committed Jan 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/compile
View
6 bin/compile
@@ -73,23 +73,23 @@ export CPPPATH="$INCLUDE_PATH"
# unpack existing cache
if [ -d $CACHE_STORE_DIR ]; then
- echo "unpacking cache"
+ # generate a place to put node_modules
TEMP_NODE_MODULES_DIR=$(mktmpdir node_modules)
# move existing node_modules out of the way
if [ -d $CACHE_TARGET_DIR ]; then
- echo "moving out"
mv $CACHE_TARGET_DIR $TEMP_NODE_MODULES_DIR/
fi
+ # copy the cached node_modules in
mkdir -p $CACHE_TARGET_DIR
cp -R $CACHE_STORE_DIR/* $CACHE_TARGET_DIR/
# move existing node_modules back into place
if [ -d $TEMP_NODE_MODULES_DIR/node_modules ]; then
- echo "moving back"
cp -R $TEMP_NODE_MODULES_DIR/node_modules/* $CACHE_TARGET_DIR/
fi
+
fi
# install dependencies with npm

0 comments on commit 4743894

Please sign in to comment.
Something went wrong with that request. Please try again.