Skip to content

Commit

Permalink
fix: rename rattler_build to rattler-build (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra authored May 27, 2024
1 parent 75c23d5 commit ef78781
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: src/metadata.rs
assertion_line: 733
expression: output_curl
---
recipe:
Expand Down Expand Up @@ -645,4 +646,4 @@ finalized_dependencies:
run_exports: ~
finalized_sources: ~
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: src/metadata.rs
assertion_line: 728
expression: output_rich
---
recipe:
Expand Down Expand Up @@ -391,4 +392,4 @@ finalized_dependencies:
run_exports: ~
finalized_sources: ~
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: src/metadata.rs
assertion_line: 744
expression: git_source_output
---
recipe:
Expand Down Expand Up @@ -71,4 +72,4 @@ finalized_sources:
rev: df83c1edf287a756b8fc995e03e9632af0344777
target_directory: initial_version
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
source: src/system_tools.rs
assertion_line: 284
expression: json
---
{
"git": "3.0.0",
"install_name_tool": "2.0.0",
"patchelf": "1.0.0",
"rattler_build": "0.0.0"
"rattler-build": "0.0.0"
}
3 changes: 2 additions & 1 deletion src/system_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub enum ToolError {
#[serde(rename_all = "snake_case")]
pub enum Tool {
/// The rattler build tool itself
#[serde(rename = "rattler-build")]
RattlerBuild,
/// The patch tool
Patch,
Expand All @@ -43,7 +44,7 @@ impl std::fmt::Display for Tool {
f,
"{}",
match self {
Tool::RattlerBuild => "rattler_build".to_string(),
Tool::RattlerBuild => "rattler-build".to_string(),
Tool::Codesign => "codesign".to_string(),
Tool::Patch => "patch".to_string(),
Tool::Patchelf => "patchelf".to_string(),
Expand Down
2 changes: 1 addition & 1 deletion test-data/rendered_recipes/curl_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -642,4 +642,4 @@ finalized_dependencies:
constrains: []
run_exports: null
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1
2 changes: 1 addition & 1 deletion test-data/rendered_recipes/git_source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ finalized_sources:
rev: df83c1edf287a756b8fc995e03e9632af0344777
target_directory: initial_version
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1
2 changes: 1 addition & 1 deletion test-data/rendered_recipes/rich_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,4 +391,4 @@ finalized_dependencies:
constrains: []
run_exports: null
system_tools:
rattler_build: 0.12.1
rattler-build: 0.12.1

0 comments on commit ef78781

Please sign in to comment.