diff --git a/Cargo.toml b/Cargo.toml index e675002172..403bd97757 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ exclude = [ "ci/bench-runner", # Ignore building these normally. They are only imported by tests. # The tests will still correctly build them. - "cli/cli_utils", + "cli_utils", "compiler/test_mono_macros", "compiler/test_wasm_util", ] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 0ba1aeaec9..090688d80a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -89,7 +89,7 @@ indoc = "1.0.3" serial_test = "0.5.1" tempfile = "3.2.0" criterion = { git = "https://github.com/Anton-4/criterion.rs"} -cli_utils = { path = "cli_utils" } +cli_utils = { path = "../cli_utils" } [[bench]] name = "time_bench" diff --git a/cli/cli_utils/Cargo.toml b/cli_utils/Cargo.toml similarity index 76% rename from cli/cli_utils/Cargo.toml rename to cli_utils/Cargo.toml index e995109766..a39dadba80 100644 --- a/cli/cli_utils/Cargo.toml +++ b/cli_utils/Cargo.toml @@ -10,10 +10,10 @@ description = "Shared code for cli tests and benchmarks" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -roc_cli = { path = "../../cli" } -roc_collections = { path = "../../compiler/collections" } -roc_load = { path = "../../compiler/load" } -roc_module = { path = "../../compiler/module" } +roc_cli = { path = "../cli" } +roc_collections = { path = "../compiler/collections" } +roc_load = { path = "../compiler/load" } +roc_module = { path = "../compiler/module" } bumpalo = { version = "3.8.0", features = ["collections"] } criterion = { git = "https://github.com/Anton-4/criterion.rs"} serde = { version = "1.0.130", features = ["derive"] } diff --git a/cli/cli_utils/src/bench_utils.rs b/cli_utils/src/bench_utils.rs similarity index 100% rename from cli/cli_utils/src/bench_utils.rs rename to cli_utils/src/bench_utils.rs diff --git a/cli/cli_utils/src/helpers.rs b/cli_utils/src/helpers.rs similarity index 100% rename from cli/cli_utils/src/helpers.rs rename to cli_utils/src/helpers.rs diff --git a/cli/cli_utils/src/lib.rs b/cli_utils/src/lib.rs similarity index 100% rename from cli/cli_utils/src/lib.rs rename to cli_utils/src/lib.rs