Skip to content

Commit

Permalink
Merge pull request #99 from zeenix/prep-1.0
Browse files Browse the repository at this point in the history
πŸ”– Prepare release 1.0
  • Loading branch information
zeenix authored Mar 3, 2024
2 parents 4f03e70 + a0b6374 commit 87b9412
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
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.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gimoji"
description = "Easily add emojis to your git commit messages πŸŽ‰"
version = "0.7.6"
version = "1.0.0"
edition = "2021"
license = "MIT"
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
Expand Down Expand Up @@ -32,3 +32,6 @@ nix = { version = "0.28", default-features = false, features = ["process"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
databake = { version = "0.1.7", features = ["derive"] }

[profile.release]
lto = "fat"
11 changes: 0 additions & 11 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ struct Args {
#[arg(short, long)]
init: bool,

/// Update local emoji cache (deprecated and NO-OP).
#[arg(short, long)]
update_cache: bool,

/// Run as git commit hook.
#[arg(long, value_delimiter = ' ', num_args = 1..3)]
hook: Vec<String>,
Expand Down Expand Up @@ -67,13 +63,6 @@ fn main() -> Result<(), Box<dyn Error>> {
if args.init {
install_hook(color_scheme)?;

return Ok(());
} else if args.update_cache {
println!(
"Emojis are now a part of the gimoji binary. This option is now a NO-OP and kept \
for backwards compatibility only and will be removed in a future release."
);

return Ok(());
}

Expand Down

0 comments on commit 87b9412

Please sign in to comment.