Skip to content

Commit

Permalink
build: persist compiled proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Jul 3, 2023
1 parent dde1dfd commit 5b84683
Show file tree
Hide file tree
Showing 4 changed files with 1,960 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/dapi-grpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ fn main() {
generate().expect("failed to compile protobuf definitions");

println!("cargo:rerun-if-changed=./protos");
// TODO: This doesn't work when we cache target dir but use clean source code with ignored rust files
// As a possible solution we need to commit these files
// Force to build every time
println!("cargo:rerun-if-changed=./src/core/proto");
println!("cargo:rerun-if-changed=./src/platform/proto");
}

/// Generate Rust definitions from Protobuf definitions
Expand Down
2 changes: 0 additions & 2 deletions packages/dapi-grpc/src/.gitignore

This file was deleted.

Loading

0 comments on commit 5b84683

Please sign in to comment.