mapserver/Makefile
NatureFreshMilk 7694ebbd41 profiler
2019-01-17 15:59:59 +01:00

17 lines
281 B
Makefile

STATIC_VFS=vfs/static.go
test: $(STATIC_VFS)
go test ./...
$(STATIC_VFS):
go get github.com/mjibson/esc
${HOME}/go/bin/esc -o $@ -prefix="static/" -pkg vfs static
build: $(STATIC_VFS)
go build
profile:
go test -cpuprofile=cprof ./tilerenderer
go tool pprof --text cprof