Skip to content

Commit

Permalink
fix: add dojo compiler pluging for migrate (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-0x authored Jan 2, 2024
1 parent f5d6ea0 commit e599968
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/sozo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ fn cli_main(args: SozoArgs) -> Result<()> {
let cairo_plugins = CairoPluginRepository::default();

match &args.command {
Commands::Build(_) | Commands::Dev(_) => compilers.add(Box::new(DojoCompiler)).unwrap(),
Commands::Build(_) | Commands::Dev(_) | Commands::Migrate(_) => {
compilers.add(Box::new(DojoCompiler)).unwrap()
}
_ => {}
}

Expand Down

0 comments on commit e599968

Please sign in to comment.