summaryrefslogtreecommitdiff
path: root/scripts/assets-compile-cache/extract
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/assets-compile-cache/extract')
-rwxr-xr-xscripts/assets-compile-cache/extract9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/assets-compile-cache/extract b/scripts/assets-compile-cache/extract
new file mode 100755
index 00000000000..aebf92a9347
--- /dev/null
+++ b/scripts/assets-compile-cache/extract
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+echo "Extracting cache files..."
+
+[ -f cache_archives/vendor-ruby.tar.gz ] && tar -xzf cache_archives/vendor-ruby.tar.gz
+[ -f cache_archives/yarn-cache.tar.gz ] && tar -xzf cache_archives/yarn-cache.tar.gz
+[ -f cache_archives/tmp-cache-assets-sprockets.tar.gz ] && tar -xzf cache_archives/tmp-cache-assets-sprockets.tar.gz
+
+echo "Done!"