Skip to content

Commit eb4d3ef

Browse files
committed
fix: handle projects with > 25 contracts
1 parent 446a4d4 commit eb4d3ef

File tree

6 files changed

+345
-235
lines changed

6 files changed

+345
-235
lines changed

src/frontend/cli.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::generate::{
1010
};
1111
use crate::integrate::{self, DevnetOrchestrator};
1212
use crate::poke::load_session;
13-
use crate::publish::{publish_contracts, Network};
13+
use crate::publish::{publish_all_contracts, Network};
1414
use crate::test::run_tests;
1515
use crate::types::{MainConfig, MainConfigFile, RequirementConfig};
1616
use clarity_repl::repl;
@@ -328,16 +328,13 @@ pub fn main() {
328328
} else {
329329
panic!("Target deployment must be specified with --devnet, --testnet, --mainnet")
330330
};
331-
match publish_contracts(manifest_path, network) {
331+
match publish_all_contracts(manifest_path, network) {
332332
Ok(results) => println!("{}", results.join("\n")),
333-
Err(e) => println!("{}", e),
333+
Err(results) => println!("{}", results.join("\n")),
334334
};
335335
}
336336
Command::Integrate(cmd) => {
337337
let manifest_path = get_manifest_path_or_exit(cmd.manifest_path);
338-
println!(
339-
"Starting Devnet..."
340-
);
341338
let devnet = DevnetOrchestrator::new(manifest_path);
342339
integrate::run_devnet(devnet);
343340
}

0 commit comments

Comments
 (0)