We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b71580 commit 2cf5ff1Copy full SHA for 2cf5ff1
bin/compile
@@ -32,6 +32,7 @@ export_mix_env
32
cached_node=$cache_dir/node-v$node_version-linux-x64.tar.gz
33
34
head "Installing binaries"
35
+cleanup_cache
36
download_node
37
install_node
38
install_npm
lib/build.sh
@@ -1,3 +1,11 @@
1
+cleanup_cache() {
2
+ if [ $clean_cache ]; then
3
+ info "`clean_cache` option set to true."
4
+ info "Cleaning out cache contents"
5
+ rm -rf $cache_dir/*
6
+ fi
7
+}
8
+
9
load_previous_npm_node_versions() {
10
if [ -f $cache_dir/npm-version ]; then
11
old_npm=$(<$cache_dir/npm-version)
0 commit comments