Skip to content

Commit

Permalink
build: change package clash to clash-rs (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
iHsin authored Jul 12, 2024
1 parent ab1eede commit e24073e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
RUSTFLAGS: ${{ matrix.rustflags || '--cfg tokio_unstable' }}

- name: Rename binary
run: mv target/${{ matrix.target }}/release/${{ env.PACKAGE }}${{ matrix.postfix }} ${{ env.PACKAGE }}-${{ matrix.release-name || matrix.target }}${{ matrix.postfix }}
run: mv target/${{ matrix.target }}/release/clash-rs${{ matrix.postfix }} ${{ env.PACKAGE }}-${{ matrix.release-name || matrix.target }}${{ matrix.postfix }}

- name: Upload binaries
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions clash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
[package]
name = "clash"
name = "clash-rs"
repository = { workspace = true }
version = { workspace = true }
edition = { workspace = true }

[[bin]]
name = "clash"
path = "src/main.rs"

[dependencies]
clap = { version = "4.5.9", features = ["derive"] }

Expand Down

0 comments on commit e24073e

Please sign in to comment.