-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom binary names #13
Conversation
Hi! I just checkout out the branch and it seems that while you fixed the issue around [package]
name = "didyoumean"
authors = ["Hisbaan Noorani"]
version = "1.1.0"
edition = "2021"
license = "GPL-3.0"
description = "A cli spelling corrector"
documentation = "https://github.com/hisbaan/didyoumean"
homepage = "https://github.com/hisbaan/didyoumean"
repository = "https://github.com/hisbaan/didyoumean"
readme = "docs/README.md"
keywords = ["levenshtein", "damerau", "edit-distance"]
categories = ["command-line-utilities"]
[[bin]]
name = "dym"
path = "src/main.rs"
[dependencies]
clap = { version = "3.1.8", features = ["derive"] }
colored = { version = "2" }
cli-clipboard = {version = "0.2.1"}
dialoguer = {version = "0.10.0"}
atty = { version = "0.2.14" }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.23.1" }
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "edit_distance"
harness = false the following PKGBUILD is generated
I belive that the |
Thanks for pointing those out. I believe if the package name should be (in this case) |
Can you try it now? |
It seems that it is correct now, apart from the Edit: I just read your above comment. I'm new to package builds so I have probably been making them wrong haha 😅. It seems good to me now! |
This PR accounts for
[[bin]]
sections inCargo.toml
, allowing the specification of custom binary names.