mapserver/Makefile
2019-01-21 19:18:07 +01:00

21 lines
321 B
Makefile

STATIC_VFS=vfs/static.go
test: $(STATIC_VFS)
go test ./...
clean:
rm $(STATIC_VFS)
rm mapserver
$(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