Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/ironclaw_reborn_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ironclaw"
version = "1.0.0-rc.1"
edition = "2024"
rust-version.workspace = true
description = "Standalone IronClaw Reborn binary"
description = "Secure personal AI assistant that protects your data and expands its capabilities on the fly"
authors = ["NEAR AI <support@near.ai>"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/nearai/ironclaw"
Expand Down
29 changes: 29 additions & 0 deletions crates/ironclaw_reborn_cli/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6969,6 +6969,35 @@ fn release_ci_publishes_reborn_without_enabling_legacy_or_docker_paths() {
&& !root.join("wix/main.wxs").exists(),
"the MSI definition must install only the canonical Reborn executable"
);
let cli_package_section = cli_manifest
.split_once("[package]\n")
.map(|(_, remainder)| remainder)
.and_then(|remainder| remainder.split_once("\n[").map(|(section, _)| section))
.expect("Reborn CLI manifest must define a [package] section");
let cli_description = cli_package_section
.lines()
.find_map(|line| {
line.strip_prefix("description = \"")
.and_then(|value| value.strip_suffix('"'))
})
.expect("Reborn CLI manifest must define a package description");
let wix_package_element = wix_manifest
.split_once("<Package Id='*'")
.map(|(_, remainder)| remainder)
.and_then(|remainder| remainder.split_once("/>").map(|(element, _)| element))
.expect("Reborn WiX manifest must define a Package element");
let wix_description = wix_package_element
.lines()
.find_map(|line| {
line.trim()
.strip_prefix("Description='")
.and_then(|value| value.strip_suffix('\''))
})
.expect("Reborn WiX Package element must define a Description attribute");
assert_eq!(
wix_description, cli_description,
"the checked-in WiX package description must match the Cargo package metadata"
);
let reborn_cli_selector = code_style_workflow
.lines()
.find(|line| line.contains("grep -Eq") && line.contains("crates/ironclaw_reborn_cli/"))
Expand Down
Loading