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 ""
|
desc ""
|
||||||
homepage "https://github.com/darwincereska/xswitcher"
|
homepage "https://github.com/darwincereska/xswitcher"
|
||||||
url "https://github.com/darwincereska/xswitcher/archive/refs/tags/v#{version}.tar.gz"
|
url "https://github.com/darwincereska/xswitcher/archive/refs/tags/v#{version}.tar.gz"
|
||||||
sha256 ""
|
sha256 "1e5e9f703cc8c7400adda8f9c96a3ae592d91ef78d932c40fd425097d88eba9e"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
|
|
||||||
depends_on "go" => :build
|
depends_on "go" => :build
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "make", "build"
|
if OS.mac?
|
||||||
bin.install "xswitcher"
|
system "make", "build-darwin"
|
||||||
|
elsif OS.linux?
|
||||||
|
system "make", "build-linux"
|
||||||
|
end
|
||||||
|
|
||||||
|
bin.install Dir["bin/xswitcher-*"].first => "xswitcher"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|||||||
Reference in New Issue
Block a user