dark-mode 1.0.1 (new formula)
Closes Homebrew/homebrew#37737. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
606c3e649c
commit
f5c3087670
1 changed files with 21 additions and 0 deletions
21
Formula/dark-mode.rb
Normal file
21
Formula/dark-mode.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class DarkMode < Formula
|
||||
homepage "https://github.com/sindresorhus/dark-mode"
|
||||
url "https://github.com/sindresorhus/dark-mode/archive/1.0.1.tar.gz"
|
||||
sha256 "7c71d865ad1a058c98909b442cdeef6b95be62313909c176a9e58db0a7512902"
|
||||
head "https://github.com/sindresorhus/dark-mode.git"
|
||||
|
||||
depends_on :macos => :yosemite
|
||||
depends_on :xcode => :build
|
||||
|
||||
def install
|
||||
xcodebuild "install",
|
||||
"SYMROOT=build",
|
||||
"DSTROOT=#{prefix}",
|
||||
"INSTALL_PATH=/bin",
|
||||
"ONLY_ACTIVE_ARCH=YES"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/dark-mode", "--mode"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue