aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
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