honk/Makefile

18 lines
238 B
Makefile
Raw Permalink Normal View History

2019-04-09 13:59:33 +02:00
all: honk
schema.go: schema.sql
sh ./genschemago.sh
honk: .preflightcheck schema.go *.go go.mod
go build -mod=`ls -d vendor 2> /dev/null` -o honk
2019-04-09 13:59:33 +02:00
.preflightcheck: preflight.sh
@sh ./preflight.sh
2019-04-09 13:59:33 +02:00
clean:
rm -f honk
2019-05-12 16:02:44 +02:00
test:
go test