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.
website-2020-spike/scripts/build-static.sh

19 lines
545 B
Bash
Raw Normal View History

#!/usr/bin/env bash
export PATH=node_modules/.bin:${PATH}
set -ex
rm -rf static/build
mkdir -p static/build/css static/build/js
node-sass --include-path node_modules/ -q static/src/scss/index.scss static/build/css/index.css
# Install materialize CSS
cp node_modules/materialize-css/dist/js/materialize.min.js static/build/js/materialize.min.js
# Install fontawesome
cp node_modules/@fortawesome/fontawesome-free/css/all.min.css static/build/css/font-awesome.min.css
cp -r node_modules/@fortawesome/fontawesome-free/webfonts static/build/