]> Nishi Git Mirror - aya.git/commitdiff
Add posthook examples
authorIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Tue, 26 Mar 2024 02:14:25 +0000 (23:14 -0300)
committerIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Tue, 26 Mar 2024 02:14:25 +0000 (23:14 -0300)
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
examples/posthook-less.sh [new file with mode: 0644]
examples/posthook-sass.sh [new file with mode: 0644]

diff --git a/examples/posthook-less.sh b/examples/posthook-less.sh
new file mode 100644 (file)
index 0000000..ed8bed9
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+lessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css
+
diff --git a/examples/posthook-sass.sh b/examples/posthook-sass.sh
new file mode 100644 (file)
index 0000000..f381c6c
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+sassc --style compressed $AYA_OUTDIR/styles.scss $AYA_OUTDIR/styles.css