Pull cli_utils out of cli to stop them from always building

This commit is contained in:
Brendan Hansknecht 2021-11-07 18:33:52 -08:00
parent 1525b7c9c9
commit cbc0b3c0cf
6 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@ exclude = [
"ci/bench-runner", "ci/bench-runner",
# Ignore building these normally. They are only imported by tests. # Ignore building these normally. They are only imported by tests.
# The tests will still correctly build them. # The tests will still correctly build them.
"cli/cli_utils", "cli_utils",
"compiler/test_mono_macros", "compiler/test_mono_macros",
"compiler/test_wasm_util", "compiler/test_wasm_util",
] ]

View file

@ -89,7 +89,7 @@ indoc = "1.0.3"
serial_test = "0.5.1" serial_test = "0.5.1"
tempfile = "3.2.0" tempfile = "3.2.0"
criterion = { git = "https://github.com/Anton-4/criterion.rs"} criterion = { git = "https://github.com/Anton-4/criterion.rs"}
cli_utils = { path = "cli_utils" } cli_utils = { path = "../cli_utils" }
[[bench]] [[bench]]
name = "time_bench" name = "time_bench"

View file

@ -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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
roc_cli = { path = "../../cli" } roc_cli = { path = "../cli" }
roc_collections = { path = "../../compiler/collections" } roc_collections = { path = "../compiler/collections" }
roc_load = { path = "../../compiler/load" } roc_load = { path = "../compiler/load" }
roc_module = { path = "../../compiler/module" } roc_module = { path = "../compiler/module" }
bumpalo = { version = "3.8.0", features = ["collections"] } bumpalo = { version = "3.8.0", features = ["collections"] }
criterion = { git = "https://github.com/Anton-4/criterion.rs"} criterion = { git = "https://github.com/Anton-4/criterion.rs"}
serde = { version = "1.0.130", features = ["derive"] } serde = { version = "1.0.130", features = ["derive"] }