Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runner_crate -> exercise_crate #170

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runner-crate/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version = 1

[[package]]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"
2 changes: 1 addition & 1 deletion runner-crate/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions src/scarb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ pub fn scarb_test(file_path: &PathBuf) -> anyhow::Result<String> {
.unwrap_or(default_target_dir)
.join(profile);

// Loop through packages, but only process 'runner_crate'
// Loop through packages, but only process 'exercise_crate'
// Largely same as this
// https://github.com/software-mansion/scarb/blob/ff98a787cfc0d94adcc7394fa83348bc01f437d5/extensions/scarb-cairo-test/src/main.rs#L54
for package in metadata.packages.iter() {
if package.name != "runner_crate" {
if package.name != "exercise_crate" {
continue;
}
// Loop through targets and run compiled file tests
Expand Down
2 changes: 1 addition & 1 deletion tests/fixture/cairo/runner-crate/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version = 1

[[package]]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"
2 changes: 1 addition & 1 deletion tests/fixture/cairo/runner-crate/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
Expand Down