From e2661fe0f478e772874dad9b81c4276a8fe56663 Mon Sep 17 00:00:00 2001 From: cstef Date: Fri, 31 Jan 2025 15:18:39 +0100 Subject: [PATCH] chore: add bin alias --- Cargo.toml | 1 + dist-workspace.toml | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6ea0026..0efccd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/cestef/braise" homepage = "https://github.com/cestef/braise" description = "Run your tasks like a chef!" + [dependencies] clap = { version = "4", features = ["cargo", "wrap_help", "string"] } either = { version = "1", features = ["serde"] } diff --git a/dist-workspace.toml b/dist-workspace.toml index 4a69042..7a1ca02 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -12,10 +12,19 @@ installers = ["shell", "powershell", "homebrew"] # A GitHub repo to push Homebrew formulas to tap = "cestef/homebrew-tap" # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = [ + "aarch64-apple-darwin", + "aarch64-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", +] # Path that installers should place binaries in install-path = "CARGO_HOME" # Publish jobs to run in CI publish-jobs = ["homebrew"] # Whether to install an updater program install-updater = false + +[dist.bin-aliases] +braise = ["br"]