openpdu/static/bower_components/seiyria-bootstrap-slider/scripts/build-preview.sh

16 lines
383 B
Bash
Raw Permalink Normal View History

2020-12-23 09:11:11 +00:00
#!/bin/bash
# this is run by netlify. there is no need to run this manually.
# log
# Generate index.html and /temp assets 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