From 8e412e199ce447cb64f040bae86f1478aa598fa4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 11 May 2019 12:28:10 +0200 Subject: add asset-rebuild helper script --- scripts/asset-rebuild | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/asset-rebuild (limited to 'scripts/asset-rebuild') 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 -- cgit v1.2.3