commit e23800cc5a7f8bf4de73cfc0fd10e989e3edffec parent 04e3687331573845a6ed8291bee16eead6f7625c Author: Hugo Soucy <hugo@soucy.cc> Date: Wed, 11 Nov 2020 19:21:13 -0500 Add new shell scripts in bin/ Diffstat:
A | bin/css | | | 4 | ++++ |
R | deploy -> bin/deploy | | | 0 | |
A | bin/web | | | 5 | +++++ |
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/bin/css b/bin/css @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +sassc src/scss/ux.scss public_html/css/ux.min.css --style compressed && + sassc src/scss/ui.scss public_html/css/ui.min.css --style compressed && + echo "CSS Modified" diff --git a/deploy b/bin/deploy diff --git a/bin/web b/bin/web @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +# Run some web related tasks + +# Watch changes in [S]CSS with find and entr +find . -type f -name "*.scss" | entr -r bin/css