tail.css/bin/build

14 lines
367 B
Text
Raw Normal View History

2024-01-27 06:28:15 +01:00
#!/bin/sh
2024-01-27 06:39:18 +01:00
set -e
2024-01-27 06:28:15 +01:00
if ! which sass > /dev/null 2>&1; then
echo "No sass compiler found in \$PATH"
exit 1
else
options="--no-cache --scss -r./shim.rb"
mkdir -p dist/
sass ${options} src/tail.scss dist/tail.css
sass ${options} --style compressed src/tail.scss dist/tail.min.css
gzip -9 -k -f dist/tail.css
gzip -9 -k -f dist/tail.min.css
2024-01-27 06:28:15 +01:00
fi