소스 검색

Makefile

- add `all`
- add `deps`
Alexey Kim 1 년 전
부모
커밋
fb876b4e4e
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      Makefile

+ 8 - 0
Makefile

@@ -2,7 +2,15 @@
 .DELETE_ON_ERROR:
 .SUFFIXES:
 
+.PHONY: all
+all: gen deps
+
 .PHONY: gen
 gen:
 	-@echo "-> $@"
 	protoc -I=. --go_out=paths=source_relative:. ticket.proto
+
+.PHONY: deps
+deps:
+	-@echo "-> $@"
+	go mod tidy