19 lines
545 B
Bash
19 lines
545 B
Bash
|
#!/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/
|