summaryrefslogtreecommitdiff
path: root/scripts/make-assets.sh
blob: f4622b924dffa5e532a9676db79155f2362a72bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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