summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-assets.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/make-assets.sh b/scripts/make-assets.sh
new file mode 100755
index 00000000..f4622b92
--- /dev/null
+++ b/scripts/make-assets.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+css="base links title table form button alert header board project task comment subtask markdown listing activity dashboard pagination popover confirm sidebar responsive font-awesome.min jquery-ui-1.10.4.custom chosen.min"
+js="jquery-1.11.1.min jquery-ui-1.10.4.custom.min jquery.ui.touch-punch.min chosen.jquery.min base board task init"
+
+rm -f assets/css/app.css
+echo "/* DO NOT EDIT: auto-generated file */" > assets/css/app.css
+
+for file in $css
+do
+ cat "assets/css/${file}.css" >> assets/css/app.css
+done
+
+rm -f assets/js/app.js
+echo "/* DO NOT EDIT: auto-generated file */" > assets/js/app.js
+
+for file in $js
+do
+ cat "assets/js/${file}.js" >> assets/js/app.js
+done \ No newline at end of file