diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-27 11:27:28 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-27 11:27:28 -0800 |
| commit | e1d6881bcad3b74d25263eaf2f553cdc37c2afa8 (patch) | |
| tree | 1cd72b65e16c6c720b2368206aee25282e918bf0 /justfile | |
| parent | tidy the flake (diff) | |
| download | fcuny.net-e1d6881bcad3b74d25263eaf2f553cdc37c2afa8.tar.gz | |
organize the justfile
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -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 |
