ソースを参照

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