Commit 24202a6b authored by David Dollar's avatar David Dollar

clean up npm

parent 3330672a
...@@ -95,7 +95,6 @@ function package_download() { ...@@ -95,7 +95,6 @@ function package_download() {
mkdir -p $location mkdir -p $location
package="http://${S3_BUCKET}.s3.amazonaws.com/$engine-$version.tgz" package="http://${S3_BUCKET}.s3.amazonaws.com/$engine-$version.tgz"
echo "downloading $engine $version"
curl $package -s -o - | tar xzf - -C $location curl $package -s -o - | tar xzf - -C $location
} }
...@@ -171,15 +170,8 @@ fi ...@@ -171,15 +170,8 @@ fi
# install dependencies with npm # install dependencies with npm
echo "-----> Installing dependencies with npm" echo "-----> Installing dependencies with npm"
cd $BUILD_DIR run_npm "install"
HOME="$BUILD_DIR" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js prune 2>&1 | indent run_npm "rebuild"
HOME="$BUILD_DIR" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js install 2>&1 | indent
if [ "${PIPESTATUS[*]}" != "0 0" ]; then
error "Failed to install dependencies with npm"
else
echo " Dependencies installed"
fi
echo "Dependencies installed" | indent echo "Dependencies installed" | indent
# repack cache with new assets # repack cache with new assets
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment