Skip to content

Commit 682ac69

Browse files
committed
feat: split python and rattler-build protocol into seperate files
1 parent a975308 commit 682ac69

File tree

6 files changed

+973
-787
lines changed

6 files changed

+973
-787
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
mod build_script;
22
mod config;
3+
mod protocol;
34
mod python;
45

5-
use python::PythonBuildBackend;
6+
use protocol::PythonBuildBackendFactory;
67

78
#[tokio::main]
89
pub async fn main() {
9-
if let Err(err) = pixi_build_backend::cli::main(PythonBuildBackend::factory).await {
10+
if let Err(err) = pixi_build_backend::cli::main(PythonBuildBackendFactory::new).await {
1011
eprintln!("{err:?}");
1112
std::process::exit(1);
1213
}

0 commit comments

Comments
 (0)