release-kit 0.2.8

A canonical release workflow: a technology-agnostic method, per-technology bindings, and the rk CLI that lands and serves them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Build script: embedded-asset change tracking only.
//!
//! `include_dir!` embeds at compile time but cargo does not watch a
//! directory for new or deleted files on its own; naming each embedded
//! root here makes any change under them rebuild the crate. The roots come
//! from the one payload inventory in `src/payload_roots.rs`, so this list
//! cannot drift from what `embedded` serves. No code generation happens.

include!("src/payload_roots.rs");

fn main() {
    for root in PAYLOAD_ROOTS {
        println!("cargo:rerun-if-changed={root}");
    }
    for license in ["LICENSE", "LICENSE-MIT", "LICENSE-CC-BY-4.0"] {
        println!("cargo:rerun-if-changed={license}");
    }
}