Skip to content

Commit

Permalink
feat: change default package format to conda (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Feb 20, 2024
1 parent 5d8bafe commit 91287a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions rust-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ mod tests {
"build",
"--recipe",
rs.as_str(),
"--package-format=tarbz2",
"--output-dir",
od.as_str(),
];
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ struct BuildOpts {

/// The package format to use for the build. Can be one of `tar-bz2` or `conda`.
/// You can also add a compression level to the package format, e.g. `tar-bz2:<number>` (from 1 to 9) or `conda:<number>` (from -7 to 22).
#[arg(long, default_value = "tar-bz2")]
#[arg(long, default_value = "conda")]
package_format: PackageFormatAndCompression,

#[arg(long)]
Expand Down
1 change: 1 addition & 0 deletions test/end-to-end/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def build(
if variant_config is not None:
args += ["--variant-config", str(variant_config)]
args += ["--output-dir", str(output_folder)]
args += ["--package-format", str("tar.bz2")]

if custom_channels:
for c in custom_channels:
Expand Down

0 comments on commit 91287a9

Please sign in to comment.