summaryrefslogtreecommitdiffstats
path: root/library/vendor/JShrink/SOURCE
blob: 00ccc58ce069b5d2e31717d9bb018e457c6f3d16 (plain)
1
2
3
4
5
6
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