aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-30 22:00:46 +0000
committerAria Shrimpton <me@aria.rip>2024-01-30 22:00:46 +0000
commit947c712ae85e5300a84661ca74b1e85ad6c828ee (patch)
tree2102b40bd91d3d5148b09c7629a22c2fd701250e
parent3d79d3cfb1e785d3e06437e001de268b201185e0 (diff)
rename back to candelabra-cli
-rw-r--r--nix/candelabra.nix3
-rw-r--r--src/Justfile2
-rw-r--r--src/crates/cli/Cargo.toml4
3 files changed, 4 insertions, 5 deletions
diff --git a/nix/candelabra.nix b/nix/candelabra.nix
index 4cd29c6..926d6eb 100644
--- a/nix/candelabra.nix
+++ b/nix/candelabra.nix
@@ -20,8 +20,7 @@ inputs @ {
in
pkgs.runCommand "candelabra" {} ''
. ${pkgs.makeWrapper}/nix-support/setup-hook
- mkdir -p $out/{bin,nix-support}
- makeWrapper ${rustCrate}/bin/candelabra $out/bin/candelabra \
+ makeWrapper ${rustCrate}/bin/candelabra-cli $out/bin/candelabra-cli \
--set CANDELABRA_SRC_DIR ${pkgs.lib.sourceByRegex ../src [
".*crates"
".*racket_specs.*"
diff --git a/src/Justfile b/src/Justfile
index 2b43947..92cbe11 100644
--- a/src/Justfile
+++ b/src/Justfile
@@ -1,4 +1,4 @@
-candelabra := `which candelabra 2>/dev/null || echo ./target/debug/candelabra`
+candelabra := `which candelabra-cli 2>/dev/null || echo ./target/debug/candelabra-cli`
target_dir := justfile_directory() / "target"
tests_dir := justfile_directory() / "tests"
tests_manifest := tests_dir / "Cargo.toml"
diff --git a/src/crates/cli/Cargo.toml b/src/crates/cli/Cargo.toml
index 69fc9c9..59d297e 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"
+default-run = "candelabra-cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -17,5 +17,5 @@ cargo_metadata = "0.18.1"
tabled = "0.14.0"
[[bin]]
-name = "candelabra"
+name = "candelabra-cli"
path = "src/main.rs"