Skip to main content

Crate codewhale_build_support

Crate codewhale_build_support 

Source
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.