honk/Makefile

14 lines
195 B
Makefile

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