blob: 125a8f490dec7b8c3dbf8a45892fa5a3db763c1a (
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
26
27
|
default:
@just --list --justfile {{ justfile() }} --unsorted
prepare:
ln -sf $(nix-build --no-out-link -A css) frontend/static/base.css
checkformat:
gofmt -d .
goimports -d .
golines --dry-run .
format:
gofmt -w .
goimports -w .
golines -w .
fix:
go fix .
precommit:
nix-build -A pre-commit-check
dev:
watchexec --no-vcs-ignore --filter "**/*.go" --filter config.toml -r wgo run -exit ./ --live --config config.toml
reindex:
wgo run -exit . --config config.toml --replace
|