stemedb/crates/stemedb-rpc/build.rs
jordan 1e5ba8b946
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: wire auth bootstrap, cluster gateway, k8s deploy skill, and ops docs
- Wire auth bootstrap (root API key, startup guard, auth-first router) in main.rs
- Add cluster gateway handlers with proper error handling
- Update Dockerfile with optimized multi-stage build and .dockerignore
- Add orchard9-deploy skill for CI/CD pipeline (Gitea/Woodpecker/Kaniko/Zot)
- Add k8s deployment roadmap and provision-project-keys script
- Document production infrastructure in CLAUDE.md
- Update three-node-cluster reference architecture
- Trim hosted.rs doc comments to stay under 800-line limit
2026-03-07 00:56:31 -07:00

14 lines
487 B
Rust

//! Build script for stemedb-rpc that generates gRPC code from proto files.
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Only re-run when these inputs change; without this, cargo re-runs on every build.
println!("cargo:rerun-if-changed=proto/sync.proto");
println!("cargo:rerun-if-changed=build.rs");
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(&["proto/sync.proto"], &["proto/"])?;
Ok(())
}