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.
This commit is contained in:
parent
2c6587aca1
commit
dd4f0838ab
14 changed files with 75 additions and 83 deletions
7
build.rs
Normal file
7
build.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fn main() {
|
||||
cynic_codegen::register_schema("startgg")
|
||||
.from_sdl_file("schema/startgg.graphql")
|
||||
.unwrap()
|
||||
.as_default()
|
||||
.unwrap();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue