Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use anyhow::Result;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
// If this file changes, regenerate the Rust sources.
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
|
||||
cynic_codegen::register_schema("warp-server")
|
||||
.from_sdl_file("api/schema.graphql")
|
||||
.expect("Should be able to register schema")
|
||||
.as_default()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user