honk/Makefile

15 lines
171 B
Makefile

all: honk
schema.go: schema.sql
sh ./genschemago.sh
honk: schema.go *.go go.mod
go build -mod=`ls -d vendor 2> /dev/null` -o honk
clean:
rm -f honk
test:
go test