Expand description
Shared build-script helpers for the codewhale-cli and codewhale-tui
build scripts: rerun-condition declarations and the embedded
DEEPSEEK_BUILD_VERSION metadata. Only call these functions from a build
script โ they emit cargo: directives on stdout.
Functionsยง
- declare_
rerun_ conditions - Declare the rerun conditions for the build-metadata directives: the
SHA-override environment variables plus the git files that track
HEAD. - emit_
build_ version - Emit
cargo:rustc-env=DEEPSEEK_BUILD_VERSION=...โ the package version, suffixed with the short build SHA when one can be determined.