蛋蛋星球RabbitMq消费项目
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 1 mēnesi
1234567891011121314151617181920212223242526272829303132
  1. .PHONY: build clean tool lint help
  2. APP=applet
  3. all: build
  4. build:
  5. go build -o ./bin/$(APP) ./cmd/main.go
  6. lite:
  7. go build -ldflags "-s -w" -o ./bin/$(APP) ./cmd/main.go
  8. install:
  9. #@go build -v .
  10. go install ./cmd/...
  11. tool:
  12. go vet ./...; true
  13. gofmt -w .
  14. lint:
  15. golint ./...
  16. clean:
  17. rm -rf go-gin-example
  18. go clean -i .
  19. help:
  20. @echo "make: compile packages and dependencies"
  21. @echo "make tool: run specified go tool"
  22. @echo "make lint: golint ./..."
  23. @echo "make clean: remove object files and cached files"