Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Formula/appwrite.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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?
Expand All @@ -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"
Expand Down
Loading