aboutsummaryrefslogtreecommitdiff
path: root/justfile
blob: 6d70b79e28f4ad1becee96c5f8516b07e13c7f94 (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

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

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

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

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

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

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