Commit 3e07c5c0 authored by Zeke Sikelianos's avatar Zeke Sikelianos

Merge pull request #59 from heroku/clear-node-gyp-cache

clear caches before slug compilation
parents 3b70e063 c4c8d19d
...@@ -84,6 +84,10 @@ rm -rf $cache_dir ...@@ -84,6 +84,10 @@ rm -rf $cache_dir
mkdir -p $cache_dir mkdir -p $cache_dir
test -d $build_dir/node_modules && cp -r $build_dir/node_modules $cache_dir/ test -d $build_dir/node_modules && cp -r $build_dir/node_modules $cache_dir/
status "Cleaning up node-gyp and npm artifacts"
rm -rf "$build_dir/.node-gyp"
rm -rf "$build_dir/.npm"
# Update the PATH # Update the PATH
status "Building runtime environment" status "Building runtime environment"
mkdir -p $build_dir/.profile.d mkdir -p $build_dir/.profile.d
......
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