Skip to content

Commit

Permalink
Add cairo-test plugin to Scarb.toml manifest on new
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Jun 19, 2024
1 parent 246fb82 commit dd09155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scarb/src/ops/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use crate::internal::fsx;
use crate::internal::restricted_names;
use crate::subcommands::get_env_vars;
use crate::{ops, DEFAULT_SOURCE_PATH, DEFAULT_TARGET_DIR_NAME, MANIFEST_FILE_NAME};
use scarb_build_metadata::SCARB_VERSION;
use std::process::{Command, Stdio};

#[derive(Clone, Copy, Debug, PartialEq)]
Expand Down Expand Up @@ -152,6 +153,9 @@ fn mk(
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
[dependencies]
[dev-dependencies]
cairo_test = "{SCARB_VERSION}"
"#},
)?;

Expand Down

0 comments on commit dd09155

Please sign in to comment.