1
2all: honk
3
4schema.go: schema.sql
5 sh ./genschemago.sh
6
7honk: .preflightcheck schema.go *.go go.mod
8 go build -mod=`ls -d vendor 2> /dev/null` -o honk
9
10.preflightcheck: preflight.sh
11 @sh ./preflight.sh
12
13clean:
14 rm -f honk
15
16test:
17 go test