Makefile 219 B

12345678910111213141516
  1. .DEFAULT_GOAL := all
  2. .DELETE_ON_ERROR:
  3. .SUFFIXES:
  4. .PHONY: all
  5. all: gen deps
  6. .PHONY: gen
  7. gen:
  8. -@echo "-> $@"
  9. protoc -I=. --go_out=paths=source_relative:. ticket.proto
  10. .PHONY: deps
  11. deps:
  12. -@echo "-> $@"
  13. go mod tidy