aboutsummaryrefslogtreecommitdiff
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
parent089f722c8446bdf07089dc28358fa38b24affffa (diff)
downloadtrackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.tar.gz
trackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.tar.bz2
trackermap-web-78d11346716e9162fc0f6025dc4f20f62a558a87.zip
Add packaging script
-rw-r--r--.gitignore1
-rwxr-xr-xtools/package.sh10
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0a7f663a..20824308 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
.DS_Store
nbproject/
web/app.min.js
+web/modern
sencha-error-*
node_modules
package-lock.json
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