Skip to content

Commit e0e4f5b

Browse files
committed
got it building
1 parent a06fa36 commit e0e4f5b

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
[workspace]
22
members = ["crates/*"]
3+
resolver = "2"
4+
5+
[workspace.package]
6+
edition = "2021"
7+
8+
[workspace.dependencies]
9+
clap = "4.5.11"
10+
pixi_manifest = { git = "https://github.com/prefix-dev/pixi", branch="main" }
11+
pixi_consts = { git = "https://github.com/prefix-dev/pixi", branch="main" }
12+
rattler-build = { git = "https://github.com/tdejager/rattler-build", branch = "feat/optional-recipe-generation", default-features = false }

crates/pixi-build-python/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "pixi-build-python"
3+
version = "0.1.0"
4+
edition.workspace = true
5+
6+
[dependencies]
7+
pixi_manifest = { workspace = true }
8+
pixi_consts = { workspace = true }
9+
rattler-build = { workspace = true }
10+
clap = { workspace = true, features = ["derive", "env"] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub use pixi_consts::consts::*;

crates/pixi-build-python/src/main.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
mod consts;
2+
3+
use std::path::PathBuf;
4+
5+
use clap::Parser;
6+
7+
#[allow(missing_docs)]
8+
#[derive(Parser)]
9+
#[clap(version)]
10+
pub struct App {
11+
/// The path to the manifest file
12+
#[clap(env, long, env = "PIXI_PROJECT_MANIFEST", default_value = consts::PROJECT_MANIFEST)]
13+
manifest_path: PathBuf,
14+
}
15+
16+
fn main() {
17+
let args = App::parse();
18+
19+
// Load the manifest
20+
eprintln!("Looking for manifest at {:?}", args.manifest_path);
21+
}

0 commit comments

Comments
 (0)