blob: 6584e016a3a317901f8a7d2aa99611690c9e06b8 (
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
28
29
30
31
32
33
34
|
#!/usr/bin/env cached-nix-shell
#!nix-shell -i "just --justfile"
docker-registry := "registry.fly.io/alanpearce-eu"
default:
@just --list --justfile {{ justfile() }} --unsorted
clean:
rm -fr website
check-licenses:
go-licenses check ./...
check-links:
hyperlink website/public --sources content
update-all:
npins update
go get -u all
build:
templ generate
go run ./cmd/build
dev:
modd
ci: build check-links
cd *DEPLOY_FLAGS:
fly auth docker
templ generate
fly deploy --image $(KO_DOCKER_REPO={{ docker-registry }} ko build --bare ./cmd/server) {{ DEPLOY_FLAGS }}
|