aboutsummaryrefslogtreecommitdiff
path: root/justfile
blob: 75bedea1b2ac82ff4100461e974aec0be2c3f7c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
default:
    @just --list

[doc('Run the local HTTP server')]
[group('site')]
run:
    zola serve

[doc('Build the site')]
[group('site')]
build:
    nix build

[doc('Format all the files')]
[group('nix')]
fmt:
    nix fmt

[doc('Check the flake')]
[group('nix')]
check:
    nix flake check

[doc('Validate the site')]
[group('site')]
validate: build
    lychee ./result/**/*.html

[doc('Update the dependencies')]
[group('nix')]
update-deps:
    nix flake update --commit-lock-file