mirror of
https://github.com/railwayapp/cli
synced 2026-04-21 14:07:23 +00:00
* use schema.json file * add instructions for re-generating the schema.json file * rebuild on schema or graphql changes * deploy templates with v2 config
7 lines
331 B
Rust
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");
|
|
}
|