StartRNR/schema/build.rs
Kiana Sheibani dd4f0838ab
Move CLI crate to root of workspace
Somehow I missed that this was a thing you could do? It's a much
cleaner organization, and it makes it so that you don't have to
explicitly specify the crate to build.
2023-09-23 03:01:36 -04:00

8 lines
161 B
Rust

fn main() {
cynic_codegen::register_schema("startgg")
.from_sdl_file("startgg.graphql")
.unwrap()
.as_default()
.unwrap();
}