chirpstack/api/md/Makefile
Orne Brocaar d170c7dd79 api: Remove generated API files from repo + update build.
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.
2024-04-01 14:27:15 +01:00

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