cli/build.rs
Jake Runzer 16bc5c730a
Template deploy v2 (#563)
* use schema.json file

* add instructions for re-generating the schema.json file

* rebuild on schema or graphql changes

* deploy templates with v2 config
2024-10-21 18:55:37 -04:00

7 lines
331 B
Rust

// Rebuild when the GraphQL queries and mutations change
fn main() {
println!("cargo:rerun-if-changed=src/gql/queries/strings");
println!("cargo:rerun-if-changed=src/gql/mutations/strings");
println!("cargo:rerun-if-changed=src/gql/subscriptions/strings");
println!("cargo:rerun-if-changed=src/gql/schema.json");
}