|
The build scripts will be run before the crate gets compiled. Thanks to the cargo toolchain, we use `cargo:rerun-if-changed=PATH` to enable the build.rs will only run if the files were changed. |
Awkward / Redundant Structure:
Inaccurate:
"to enable the build.rs will only run"
Accurate:
"to ensure that build.rs only runs"
(or more simply: "so that build.rs only runs")
Tense Consistency:
Inaccurate:
"if the files were changed"
Accurate:
"if the files have changed"
(or "if the files change" for general present meaning)
AppFlowy-Docs/essential-documentation/contribute-to-appflowy/architecture/backend/event.md
Line 155 in cb1d8a0
Awkward / Redundant Structure:
Inaccurate:
"to
enablethe build.rswill only run"Accurate:
"to
ensurethat build.rsonly runs"(or more simply: "so that build.rs only runs")
Tense Consistency:
Inaccurate:
"if the files
werechanged"Accurate:
"if the files
havechanged"(or "if the files change" for general present meaning)