blob: b878de3e52e07eb403acaf70611542f2f793db0a (
plain)
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
|
default:
@just --list --justfile {{ justfile() }} --unsorted
prepare:
ln -sf $(nix-build --no-out-link -A css) frontend/static/base.css
update-nixos-options:
ln -sf $(nix-build --no-out-link -A nixos-options)/share/doc/nixos/options.json data/nixos-options.json
checkformat:
gofmt -d .
goimports -d .
format:
gofmt -w .
goimports -w .
fix:
go fix .
precommit:
nix-build -A pre-commit-check
dev: prepare
wgo run ./serve/ --live
|