2015-09-25 05:31:45 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -x -e
|
|
|
|
|
2016-06-28 13:17:47 +08:00
|
|
|
bower install
|
2015-09-25 05:31:45 +08:00
|
|
|
|
|
|
|
rm -rf vendor
|
|
|
|
mkdir -p vendor/{css,fonts,js}
|
|
|
|
|
|
|
|
cp -r bower_components/bootstrap/dist/* vendor
|
2016-06-28 13:17:47 +08:00
|
|
|
cp -r bower_components/bootstrap-toggle/css/*.min.css* vendor/css
|
|
|
|
cp -r bower_components/bootstrap-toggle/js/*.min.js* vendor/js
|
2015-09-25 05:31:45 +08:00
|
|
|
cp -r bower_components/bootstrap3-dialog/dist/* vendor
|
|
|
|
cp -r bower_components/font-awesome/* vendor
|
|
|
|
|
|
|
|
cp bower_components/jquery/dist/* vendor/js
|
|
|
|
cp bower_components/handlebars/handlebars.min.js vendor/js
|
2016-06-28 13:17:47 +08:00
|
|
|
cp bower_components/underscore/underscore-min.js vendor/js
|
2015-09-25 05:31:45 +08:00
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/jstat/jstat/1.3.0/dist/jstat.min.js -P vendor/js
|