aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-07-28 21:53:25 -0500
committerChristian Cleberg <hello@cleberg.net>2024-07-28 21:53:25 -0500
commitbc5e26d73dc0da6cfba8046f302e540c1d0f4497 (patch)
tree7e162703cab1118aaaab2f9159f07d18c045b1d6 /build.sh
parent79b16809e66d69651979215055ed808171769e43 (diff)
downloadcleberg.net-bc5e26d73dc0da6cfba8046f302e540c1d0f4497.tar.gz
cleberg.net-bc5e26d73dc0da6cfba8046f302e540c1d0f4497.tar.bz2
cleberg.net-bc5e26d73dc0da6cfba8046f302e540c1d0f4497.zip
add support for filetags
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 5f1aed0..7151fd6 100755
--- a/build.sh
+++ b/build.sh
@@ -8,6 +8,8 @@ if [ "$answer" != "${answer#[Yy]}" ] ; then
echo "Environment: Production" && \
rm -rf .build/* && \
emacs --script publish.el &>/dev/null && \
+ minify -o theme/static/styles.min.css \
+ theme/static/styles.css && \
pandoc -f org -t html readme.org -o readme.html && \
hut git update --readme readme.html --repo \
https://git.sr.ht/\~cyborg/cleberg.net && \
@@ -17,6 +19,8 @@ if [ "$answer" != "${answer#[Yy]}" ] ; then
echo "Environment: Development" && \
rm -rf .build/* && \
emacs --script publish.el && \
+ minify -o theme/static/styles.min.css \
+ theme/static/styles.css && \
cd .build/ && \
python3 -m http.server
fi