mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-23 23:12:26 +00:00
d170c7dd79
All these files can be generated using the `make api` command and there is no real need to commit these into the repo. Only the api/go files need to be comitted of how the Go import system works. This also updates the Rust, Go, JS and gRPC-web (JS) code generation and UI build to use the nix-shell environment instead of using Docker.
20 lines
447 B
Makefile
Vendored
20 lines
447 B
Makefile
Vendored
.PHONY: requirements api
|
|
|
|
all: requirements api
|
|
|
|
requirements:
|
|
mkdir -p api
|
|
go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.5.1
|
|
|
|
api:
|
|
protoc -I=../proto --doc_out=./api --doc_opt=markdown,api.md \
|
|
api/application.proto \
|
|
api/device.proto \
|
|
api/device_profile.proto \
|
|
api/device_profile_template.proto \
|
|
api/gateway.proto \
|
|
api/multicast_group.proto \
|
|
api/relay.proto \
|
|
api/tenant.proto \
|
|
api/user.proto
|