Skip to content

Commit

Permalink
fix: merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed May 8, 2024
1 parent 225441d commit 5f44f3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/pop-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ async fn main() -> Result<()> {
#[cfg(feature = "contract")]
commands::new::NewCommands::Contract(cmd) => cmd.execute().await,
},
#[cfg(any(feature = "parachain", feature = "contract"))]
Commands::Build(args) => match &args.command {
#[cfg(feature = "parachain")]
commands::build::BuildCommands::Parachain(cmd) => cmd.execute(),
#[cfg(feature = "contract")]
commands::build::BuildCommands::Contract(cmd) => cmd.execute(),
},
#[cfg(feature = "contract")]
Expand All @@ -82,6 +84,7 @@ async fn main() -> Result<()> {
Commands::Test(args) => match &args.command {
commands::test::TestCommands::Contract(cmd) => cmd.execute(),
},
#[cfg(any(feature = "parachain", feature = "contract"))]
Commands::Install(args) => args.execute().await,
}
}
Expand Down

0 comments on commit 5f44f3e

Please sign in to comment.