Skip to content

Commit

Permalink
Merge pull request #316 from MaaAssistantArknights/maa-cli-0.5.3
Browse files Browse the repository at this point in the history
maa-cli: bump both versions to 0.5.3
  • Loading branch information
github-actions[bot] authored Dec 29, 2024
2 parents c08e463 + f4cbf7d commit d793662
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
20 changes: 11 additions & 9 deletions Formula/maa-cli-beta.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class MaaCliBeta < Formula
desc "Command-line tool for MAA (MaaAssistantArknights)"
homepage "https://github.com/MaaAssistantArknights/maa-cli/"
url "https://github.com/MaaAssistantArknights/maa-cli/archive/refs/tags/v0.5.2.tar.gz"
sha256 "b9d944575a08decf14ec96ee5fdefa002f906397849452e31108d2a2e44b7d7f"
url "https://github.com/MaaAssistantArknights/maa-cli/archive/refs/tags/v0.5.3.tar.gz"
sha256 "e78200bd58e8481e81bd2daf996a65170864d761d1db88c637db38c33df2b29c"
license "AGPL-3.0-only"

livecheck do
Expand All @@ -11,11 +11,11 @@ class MaaCliBeta < Formula
end

bottle do
root_url "https://github.com/MaaAssistantArknights/homebrew-tap/releases/download/maa-cli-beta-0.5.2"
sha256 cellar: :any, arm64_sequoia: "d76a6b600c4e972e71c84237879f4b60ef091685399b457f7ec4561772988f16"
sha256 cellar: :any, arm64_sonoma: "32e07836d8925a4f7fae9ef06771ac46337770784d17dee6a327103fd670364d"
sha256 cellar: :any, ventura: "07cfd7a517e7b1cf0042e99053d8c225a1a43367595a4f9848d72a611bac5944"
sha256 cellar: :any_skip_relocation, x86_64_linux: "17cf74cd3d208aa00094c8d4de36e70f104a73c1888fc9c91b1df12c4e75da21"
root_url "https://github.com/MaaAssistantArknights/homebrew-tap/releases/download/maa-cli-beta-0.5.3"
sha256 cellar: :any, arm64_sequoia: "fd904e9bf4f4dcfde67eec8a691e910462d279f97ce87c52a5afbf3bd60a576a"
sha256 cellar: :any, arm64_sonoma: "8fe73ee04b468909e1b903976f57cef34ffa06eaa9cd88cb28fe11a8027f7ecf"
sha256 cellar: :any, ventura: "d4f4cd1b7fbb79c633ba00138f7a5735b3827cb1bbefb681c5a7d3873bf8d442"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fcd0c7723a2f30399957f1291a9072bbec38ff9114c9d06bc31556cadebe4777"
end

option "without-git2", "Don't build with libgit2 resource updater backend"
Expand All @@ -40,9 +40,11 @@ def install
features += ["git2", "git2/vendored-libgit2"] if build.with? "git2"
features += ["core_installer"] if build.with? "core-installer"

package_path = "crates/maa-cli"

system "cargo", "install", "--no-default-features",
"--features", features.join(","), *std_cargo_args(path: "maa-cli")
fish_completion.install "maa-cli/completions/maa.fish"
"--features", features.join(","), *std_cargo_args(path: package_path)
fish_completion.install "#{package_path}/completions/maa.fish"
end

test do
Expand Down
20 changes: 11 additions & 9 deletions Formula/maa-cli.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class MaaCli < Formula
desc "Command-line tool for MAA (MaaAssistantArknights)"
homepage "https://github.com/MaaAssistantArknights/maa-cli/"
url "https://github.com/MaaAssistantArknights/maa-cli/archive/refs/tags/v0.5.2.tar.gz"
sha256 "b9d944575a08decf14ec96ee5fdefa002f906397849452e31108d2a2e44b7d7f"
url "https://github.com/MaaAssistantArknights/maa-cli/archive/refs/tags/v0.5.3.tar.gz"
sha256 "e78200bd58e8481e81bd2daf996a65170864d761d1db88c637db38c33df2b29c"
license "AGPL-3.0-only"

livecheck do
Expand All @@ -11,11 +11,11 @@ class MaaCli < Formula
end

bottle do
root_url "https://github.com/MaaAssistantArknights/homebrew-tap/releases/download/maa-cli-0.5.2"
sha256 cellar: :any, arm64_sequoia: "a07c9bd2f98664858458c6fc6c105203099c1dda676a4c286c88907e76e8853d"
sha256 cellar: :any, arm64_sonoma: "ff6e3143acd9e5f9c3a370cb0d5c1c09e47d0f321723ecaf8b00842bcd7fd3bf"
sha256 cellar: :any, ventura: "bf4f61b70797606f8e30c42166fcc7c779bb75d45760a8dde9280e6e3a59bc33"
sha256 cellar: :any_skip_relocation, x86_64_linux: "eb4d91b1fdc02b6e03d0aac13ec39629cdb8c60d41e5e705b3e2c0382a51c423"
root_url "https://github.com/MaaAssistantArknights/homebrew-tap/releases/download/maa-cli-0.5.3"
sha256 cellar: :any, arm64_sequoia: "0089b87e73fc8c2453fc37c2a7c2547306568e2ea5a92954e745db7a45af8e39"
sha256 cellar: :any, arm64_sonoma: "f3eb3d23cfa526d75c6243fd2268a4c1a283382733fbf55734cd5dfadbe516c5"
sha256 cellar: :any, ventura: "0a181cffa3136bc2532681feb92dc1ec67f905e2ffac3e91f620965ebc9e17a0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "25a45fb39fc82b0eb0e8170daa35148df30ea8052e58183682ec76c7da0d61c5"
end

option "without-git2", "Don't build with libgit2 resource updater backend"
Expand All @@ -41,9 +41,11 @@ def install
features += ["git2", "git2/vendored-libgit2"] if build.with? "git2"
features += ["core_installer"] if build.with? "core-installer"

package_path = "crates/maa-cli"

system "cargo", "install", "--no-default-features",
"--features", features.join(","), *std_cargo_args(path: "maa-cli")
fish_completion.install "maa-cli/completions/maa.fish"
"--features", features.join(","), *std_cargo_args(path: package_path)
fish_completion.install "#{package_path}/completions/maa.fish"
end

test do
Expand Down

0 comments on commit d793662

Please sign in to comment.