diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-02-05 00:37:07 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-02-05 00:37:07 (GMT) |
commit | 6bc93a0fc64e39386c688f98885541a48d1a6c07 (patch) | |
tree | 9362a94e0a27c43bdcf55ef36c5b564d9c1d017a | |
parent | ca488f8d3609500b89b95c6c2ff6c533e62a7aea (diff) |
add build.sh
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rwxr-xr-x | build.sh | 14 |
3 files changed, 18 insertions, 0 deletions
@@ -1 +1,3 @@ contrib/Pflichtenheft-Peter.pdf +www/js/rhwebimport.* +www/styles/rhwebimport.* @@ -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" |