mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
update: quickfix
This commit is contained in:
@@ -3,14 +3,19 @@ class Xswitcher < Formula
|
||||
desc ""
|
||||
homepage "https://github.com/darwincereska/xswitcher"
|
||||
url "https://github.com/darwincereska/xswitcher/archive/refs/tags/v#{version}.tar.gz"
|
||||
sha256 ""
|
||||
sha256 "1e5e9f703cc8c7400adda8f9c96a3ae592d91ef78d932c40fd425097d88eba9e"
|
||||
license "MIT"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
system "make", "build"
|
||||
bin.install "xswitcher"
|
||||
if OS.mac?
|
||||
system "make", "build-darwin"
|
||||
elsif OS.linux?
|
||||
system "make", "build-linux"
|
||||
end
|
||||
|
||||
bin.install Dir["bin/xswitcher-*"].first => "xswitcher"
|
||||
end
|
||||
|
||||
test do
|
||||
|
||||
Reference in New Issue
Block a user