aboutsummaryrefslogtreecommitdiff
path: root/tools/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-04 23:29:47 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-04 23:29:47 -0700
commit78d11346716e9162fc0f6025dc4f20f62a558a87 (patch)
treead0022f2007f89db4f9c0663723b7fb92f0f64e2 /tools/package.sh
parent089f722c8446bdf07089dc28358fa38b24affffa (diff)
downloadtrackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.tar.gz
trackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.tar.bz2
trackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.zip
Add packaging script
Diffstat (limited to 'tools/package.sh')
-rwxr-xr-xtools/package.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/package.sh b/tools/package.sh
new file mode 100755
index 00000000..5886c088
--- /dev/null
+++ b/tools/package.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+cd $(dirname $0)
+
+./minify.sh
+
+cd $(dirname $0)/../modern
+
+npm run build_release
+mv build ../web/modern