chirpstack/api/rust/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

17 lines
237 B
Makefile
Vendored

.PHONY: proto version test
all: proto test
proto:
rm -rf proto
mkdir -p proto/chirpstack
mkdir -p proto/google
cp -r ../proto/* proto/chirpstack
mv proto/chirpstack/google proto/google/
test:
cargo test
publish:
cargo publish