Parcourir la source

Makefile

- add `all`
- add `deps`
Alexey Kim il y a 1 an
Parent
commit
fb876b4e4e
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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