summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index edc546f..35867ad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: clean chat.pb.go goimports vet
+all: clean chat.pb.go book.pb.go goimports vet
goimports:
goimports -w *.go
@@ -6,6 +6,9 @@ goimports:
chat.pb.go: chat.proto
autogenpb --proto chat.proto
+book.pb.go: book.proto
+ autogenpb --proto book.proto
+
clean:
rm -f *.pb.go *.patch
-rm -f go.*