Makefile 233 B

123456789101112131415161718
  1. .PHONY: clean all lint
  2. EXE = $(notdir $(shell pwd))
  3. ifeq ($(GARBLE),y)
  4. GO=garble -literals -tiny -debugdir=garbled
  5. else
  6. GO = go
  7. endif
  8. all:
  9. $(GO) build .
  10. clean:
  11. $(RM) $(EXE) $(EXE).exe
  12. lint:
  13. gometalinter --deadline 60s | sort