-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a06fa36
commit e0e4f5b
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
[workspace] | ||
members = ["crates/*"] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
edition = "2021" | ||
|
||
[workspace.dependencies] | ||
clap = "4.5.11" | ||
pixi_manifest = { git = "https://github.com/prefix-dev/pixi", branch="main" } | ||
pixi_consts = { git = "https://github.com/prefix-dev/pixi", branch="main" } | ||
rattler-build = { git = "https://github.com/tdejager/rattler-build", branch = "feat/optional-recipe-generation", default-features = false } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "pixi-build-python" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
|
||
[dependencies] | ||
pixi_manifest = { workspace = true } | ||
pixi_consts = { workspace = true } | ||
rattler-build = { workspace = true } | ||
clap = { workspace = true, features = ["derive", "env"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub use pixi_consts::consts::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
mod consts; | ||
|
||
use std::path::PathBuf; | ||
|
||
use clap::Parser; | ||
|
||
#[allow(missing_docs)] | ||
#[derive(Parser)] | ||
#[clap(version)] | ||
pub struct App { | ||
/// The path to the manifest file | ||
#[clap(env, long, env = "PIXI_PROJECT_MANIFEST", default_value = consts::PROJECT_MANIFEST)] | ||
manifest_path: PathBuf, | ||
} | ||
|
||
fn main() { | ||
let args = App::parse(); | ||
|
||
// Load the manifest | ||
eprintln!("Looking for manifest at {:?}", args.manifest_path); | ||
} |