From 6bc93a0fc64e39386c688f98885541a48d1a6c07 Mon Sep 17 00:00:00 2001 From: Peter Grassberger Date: Fri, 5 Feb 2016 01:37:07 +0100 Subject: add build.sh diff --git a/.gitignore b/.gitignore index 0e7aed8..be094ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ contrib/Pflichtenheft-Peter.pdf +www/js/rhwebimport.* +www/styles/rhwebimport.* diff --git a/README b/README index 9899324..cdc1316 100644 --- a/README +++ b/README @@ -86,3 +86,5 @@ add the following to the virtualhost config: AliasMatch "^/(js|img|styles)(.*)" "/var/www/rhwebimport/www/$1$2" AliasMatch "^(.*)" "/var/www/rhwebimport/www/index.html" ~~~/snip~~~ + +# ./build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..b57882f --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# Build + +cd www/js +rm -f rhwebimport.js +cat apps.js auth.js clock.js dropzone.js importer.js jingles.js musicgrid.js musicpools.js rdxport.js rdxport.rh.js shows.js utils.js >> rhwebimport.js + +cd ../styles +rm -f rhwebimport.css +cat auth.css jingles.css main-style.css musicgrid.css musicpools.css shows.css >> rhwebimport.css + +#todo: minify + +echo "done" -- cgit v0.10.2