diff --git a/Makefile b/Makefile index 7c2f8a78c..7e307b16c 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,8 @@ endif install_rust: install install: - cargo install --locked --path ./cmd/soroban-cli --debug - cargo install --locked --path ./cmd/stellar-cli --debug - cargo install --locked --path ./cmd/crates/soroban-test/tests/fixtures/hello --root ./target --debug --quiet + cargo install --force --locked --path ./cmd/stellar-cli --debug + cargo install --force --locked --path ./cmd/crates/soroban-test/tests/fixtures/hello --root ./target --debug --quiet # regenerate the example lib in `cmd/crates/soroban-spec-typsecript/fixtures/ts` build-snapshot: typescript-bindings-fixtures diff --git a/cmd/soroban-cli/Cargo.toml b/cmd/soroban-cli/Cargo.toml index c0142e1e6..0950aa94d 100644 --- a/cmd/soroban-cli/Cargo.toml +++ b/cmd/soroban-cli/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true autobins = false default-run = "soroban" +[[bin]] +name = "stellar" +path = "src/bin/main.rs" + [[bin]] name = "soroban" path = "src/bin/main.rs" diff --git a/cmd/stellar-cli/Cargo.toml b/cmd/stellar-cli/Cargo.toml index 6c0610b6f..23e4c741e 100644 --- a/cmd/stellar-cli/Cargo.toml +++ b/cmd/stellar-cli/Cargo.toml @@ -16,6 +16,10 @@ default-run = "stellar" name = "stellar" path = "src/bin/main.rs" +[[bin]] +name = "soroban" +path = "src/bin/main.rs" + [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }{ archive-suffix }" bin-dir = "{ bin }{ binary-ext }"