todo/public/vendor/seiyria-bootstrap-slider/scripts/build-preview.sh

17 lines
384 B
Bash
Raw Normal View History

2020-06-23 04:40:37 +00:00
#!/bin/bash
# this is run by netlify. there is no need to run this manually.
# log
# Generate index.html and /temp vector for GH Pages branch
npm i
grunt build
grunt build-gh-pages
mkdir css
mkdir js
cp node_modules/bootstrap/dist/css/bootstrap.min.css css/bootstrap.min.css
mv temp/bootstrap-slider.css css/bootstrap-slider.css
mv temp/bootstrap-slider.js js/bootstrap-slider.js