mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
update: fixed formula
This commit is contained in:
@@ -6,15 +6,10 @@ class Xswitcher < Formula
|
||||
sha256 ""
|
||||
license "MIT"
|
||||
|
||||
def install
|
||||
args = []
|
||||
if Hardware::CPU.arm?
|
||||
args << "ARCH=arm64"
|
||||
elsif Hardware::CPU.intel?
|
||||
args << "ARCH=x86_64"
|
||||
end
|
||||
depends_on "go" => :build
|
||||
|
||||
system "make", "build", *args
|
||||
def install
|
||||
system "make", "build"
|
||||
bin.install "xswitcher"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user