summaryrefslogtreecommitdiffstats
path: root/library/vendor/JShrink/SOURCE
diff options
context:
space:
mode:
Diffstat (limited to 'library/vendor/JShrink/SOURCE')
-rw-r--r--library/vendor/JShrink/SOURCE7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/vendor/JShrink/SOURCE b/library/vendor/JShrink/SOURCE
new file mode 100644
index 0000000..00ccc58
--- /dev/null
+++ b/library/vendor/JShrink/SOURCE
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -eux
+VERSION=1.4.0
+curl -LsS https://github.com/tedious/JShrink/archive/v"$VERSION".tar.gz -o /tmp/JShrink.tar.gz
+tar xzf /tmp/JShrink.tar.gz --strip-components 1 JShrink-"$VERSION"/LICENSE
+tar xzf /tmp/JShrink.tar.gz --strip-components 3 JShrink-"$VERSION"/src/JShrink/Minifier.php
+rm /tmp/JShrink.tar.gz