summaryrefslogtreecommitdiff
path: root/scripts/asset-rebuild
blob: 51b97a6c821bb0bc1529b32444bf3d1af522c7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Copyright (C) 2020 Daniel Friesel
#
# SPDX-License-Identifier: CC0-1.0

set -ex

uglifyjs public/static/js/autocomplete.js public/static/js/collapse.js -c -m > public/static/js/dbf.min.js
uglifyjs public/static/js/geolocation.js -c -m > public/static/js/geolocation.min.js
uglifyjs public/static/js/map-refresh.js -c -m > public/static/js/map-refresh.min.js
uglifyjs public/static/js/marquee.js -c -m > public/static/js/marquee.min.js