From 76e2494011617cd13ad248c181d6ed9d6f270154 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Sun, 31 Oct 2021 15:54:27 -0700 Subject: [PATCH] Rename cli without the -cli suffix --- Cargo.lock | 2 +- bin/upload_test_files.sh | 4 ++-- cli/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84270dc..8ac8183 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -945,7 +945,7 @@ dependencies = [ ] [[package]] -name = "omegaupload-cli" +name = "omegaupload" version = "0.1.0" dependencies = [ "anyhow", diff --git a/bin/upload_test_files.sh b/bin/upload_test_files.sh index 6ba3207..e01c5e6 100755 --- a/bin/upload_test_files.sh +++ b/bin/upload_test_files.sh @@ -20,7 +20,7 @@ source .env cd "$(git rev-parse --show-toplevel)" || exit 1 -cargo build --release --bin omegaupload-cli +cargo build --release --bin omegaupload TEST_PATH="test/*" @@ -34,5 +34,5 @@ done for file in $TEST_PATH; do printf "%$((PADDING - ${#TEST_PATH} + 1))s: " "${file#$TEST_PATH}" - ./target/release/omegaupload-cli upload "$PASTE_URL" "$file" + ./target/release/omegaupload upload "$PASTE_URL" "$file" done \ No newline at end of file diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 75ce687..3afbc82 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "omegaupload-cli" +name = "omegaupload" version = "0.1.0" edition = "2021"