update justfile

Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
This commit is contained in:
Soc Virnyl Estela 2024-06-27 23:23:30 +08:00
parent c411deebd9
commit 21e4ade0a6
Signed by: uncomfyhalomacro
SSH key fingerprint: SHA256:9Ez84JDMZLHJvRH+Kjgvlb+eX82QYEW127e6Rj66zBY

View file

@ -2,6 +2,9 @@
default: all
format:
npx prettier -w .
webring:
openring -t quartz.layout.ts.in -n 10 -S webring-list >| quartz.layout.ts
@ -10,11 +13,11 @@ build: webring
npx quartz build
cp -v .htaccess public/.htaccess
serve:
serve: build
rm -rfv public
npx quartz build --serve
publish: build
publish: format build
#!/usr/bin/env bash
set -euxo pipefail
sudo chown $USER1:$USER1 -R public/