mirror of
https://github.com/zap-proto/http.git
synced 2026-10-04 03:07:19 +00:00
Last one. A target that names a missing file fails at the moment someone tries to regenerate, which is the moment they least want to debug the build. Co-authored-by: Hanzo Dev <[email protected]>
21 lines
444 B
Makefile
21 lines
444 B
Makefile
# zap-http Makefile.
|
|
#
|
|
# The ZAP-HTTP wire codec is hand-written in wire.go against the
|
|
# github.com/zap-proto/go runtime — there is no code-generation step and
|
|
# no external schema toolchain. schema/http.zap documents the
|
|
# logical wire shape; wire.go's field offsets are the binding.
|
|
|
|
.PHONY: build test bench clean
|
|
|
|
build:
|
|
go build ./...
|
|
|
|
test:
|
|
go test ./... -v
|
|
|
|
bench:
|
|
go test ./... -run=^$$ -bench=. -benchmem
|
|
|
|
clean:
|
|
go clean ./...
|