diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-11 12:28:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-11 12:28:10 +0200 |
commit | 8e412e199ce447cb64f040bae86f1478aa598fa4 (patch) | |
tree | 6b94dd7729ea55c26c8a07e5fddf2fa1d7b1f0cb /scripts/asset-rebuild | |
parent | fcb01bddf791845f031efd537a1d6b86f1c33cf1 (diff) |
add asset-rebuild helper script
Diffstat (limited to 'scripts/asset-rebuild')
-rwxr-xr-x | scripts/asset-rebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild new file mode 100755 index 0000000..dd32113 --- /dev/null +++ b/scripts/asset-rebuild @@ -0,0 +1,7 @@ +#!/bin/sh + +set -x + +for file in autocomplete geolocation travelynx-actions; do + uglifyjs public/static/js/${file}.js -c -m > public/static/js/${file}.min.js +done |