summaryrefslogtreecommitdiffstats
path: root/scripts/build_sass.sh
blob: 3f5f7684e4c26f9b1eda1e17ec990216dd2aec61 (plain) (blame)
1
2
3
4
5
6
#!/bin/bash

source "site.defaults.conf"

echo -e "\033[0;32m[COMPILE ]\033[0m ${ASSETS_DIR}css/style.scss -> ${OUTPUT_DIR}style.css"
sassc -t compressed ${ASSETS_DIR}css/style.scss | ./node_modules/.bin/postcss --use autoprefixer --no-map > "${OUTPUT_DIR}style.css"