diff --git a/Formula/appwrite.rb b/Formula/appwrite.rb index 59b5af4..0f12036 100644 --- a/Formula/appwrite.rb +++ b/Formula/appwrite.rb @@ -1,8 +1,8 @@ class Appwrite < Formula desc "Command-line tool for interacting with the Appwrite API" homepage "https://appwrite.io" - license "BSD-3-Clause" version "18.2.0" + license "BSD-3-Clause" def self.binary_arch Hardware::CPU.arm? ? "arm64" : "x64" @@ -26,6 +26,10 @@ def self.build_target raise "Homebrew formula is only supported on macOS and Linux" end + head "https://github.com/appwrite/sdk-for-cli.git", branch: "master" do + depends_on "bun" => :build + end + # Release automation injects per-target SHA256 values when publishing binaries. on_macos do if Hardware::CPU.arm? @@ -47,10 +51,6 @@ def self.build_target end end - head "https://github.com/appwrite/sdk-for-cli.git", branch: "master" do - depends_on "bun" => :build - end - def install if build.head? system "bun", "install", "--frozen-lockfile"