Commit c4c8d19d authored by zeke's avatar zeke

clear caches before slug compilation

parent 83104b4f
...@@ -86,6 +86,10 @@ else ...@@ -86,6 +86,10 @@ else
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/
fi fi
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