mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-10-03 16:06:19 +00:00
better makefile
This commit is contained in:
1 file changed
+7
-2
@@ -1,2 +1,7 @@
|
|||||||
proto:
|
proto: proto/schema.pb.go proto/gtfs-realtime.pb.go
|
||||||
protoc --go_out=. --go_opt=paths=source_relative --go_opt=Mproto/gtfs-realtime.proto=github.com/cjdenio/uta-trax-api/proto proto/*.proto
|
|
||||||
|
proto/gtfs-realtime.pb.go: proto/gtfs-realtime.proto
|
||||||
|
protoc --go_out=. --go_opt=paths=source_relative --go_opt=Mproto/gtfs-realtime.proto=github.com/cjdenio/uta-trax-api/proto $<
|
||||||
|
|
||||||
|
proto/schema.pb.go: proto/schema.proto
|
||||||
|
protoc --go_out=. --go_opt=paths=source_relative $<
|
||||||
Reference in new issue
Block a user