1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
givemoneyto.me/scripts/build.sh

16 lines
407 B
Bash
Raw Normal View History

2019-02-04 13:46:15 +00:00
#!/usr/bin/env bash
set -e
rm -rf public/
mkdir -p static/build/js static/build/css
cp -r static/src/* static/build
cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js static/build/js/bootstrap.js
cp -r node_modules/@fortawesome/fontawesome-free/css/all.min.css static/build/css/font-awesome.css
cp -r node_modules/@fortawesome/fontawesome-free/webfonts static/build
hugo -v --stepAnalysis --gc