From 983a1f5504512e9255d2bfa55cb9e5b4f904e78b Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Thu, 25 Jan 2024 21:21:09 +0000 Subject: add docker image --- src/crates/candelabra/src/paths.rs | 2 +- src/crates/cli/Cargo.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/crates') diff --git a/src/crates/candelabra/src/paths.rs b/src/crates/candelabra/src/paths.rs index d25c174..880697b 100644 --- a/src/crates/candelabra/src/paths.rs +++ b/src/crates/candelabra/src/paths.rs @@ -17,7 +17,7 @@ impl Paths { library_crate: base.join("crates").join("library"), library_src: base.join("crates").join("library").join("src"), benchmarker_crate: base.join("crates").join("benchmarker"), - target_dir: base.join("target"), + target_dir: Utf8PathBuf::from("./target"), base, } } diff --git a/src/crates/cli/Cargo.toml b/src/crates/cli/Cargo.toml index 09d7b4b..69fc9c9 100644 --- a/src/crates/cli/Cargo.toml +++ b/src/crates/cli/Cargo.toml @@ -2,7 +2,7 @@ name = "candelabra-cli" version = "0.1.0" edition = "2021" -default-run = "candelabra-cli" +default-run = "candelabra" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,3 +15,7 @@ env_logger = { workspace = true } argh = { version = "0.1.12" } cargo_metadata = "0.18.1" tabled = "0.14.0" + +[[bin]] +name = "candelabra" +path = "src/main.rs" -- cgit v1.2.3