mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-24 23:36:44 +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.
17 lines
237 B
Makefile
Vendored
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
|