aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-27 11:27:28 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-27 11:27:28 -0800
commite1d6881bcad3b74d25263eaf2f553cdc37c2afa8 (patch)
tree1cd72b65e16c6c720b2368206aee25282e918bf0 /justfile
parenttidy the flake (diff)
downloadfcuny.net-e1d6881bcad3b74d25263eaf2f553cdc37c2afa8.tar.gz
organize the justfile
Diffstat (limited to 'justfile')
-rw-r--r--justfile22
1 files changed, 16 insertions, 6 deletions
diff --git a/justfile b/justfile
index f126b52..6d70b79 100644
--- a/justfile
+++ b/justfile
@@ -1,22 +1,32 @@
-# Run the local HTTP server
+default:
+ @just --list
+
+[group('site')]
+[doc('Run the local HTTP server')]
run:
zola serve
-# Generate the content of the site under ./docs
+[group('site')]
+[doc('Build the site')]
build:
nix build
-# Format files
+[group('nix')]
+[doc('Format all the files')]
fmt:
nix fmt
+[group('nix')]
+[doc('Check the flake')]
check:
nix flake check
-# Check that all the links are valid
-check-links: build
+[group('site')]
+[doc('Validate the site')]
+validate: build
lychee ./result/**/*.html
-# Update flake dependencies
+[group('nix')]
+[doc('Update the dependencies')]
update-deps:
nix flake update --commit-lock-file