needle 0.8.5 (new formula)

Closes #34752.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Yi Wang 2018-12-03 11:59:14 -08:00 committed by FX Coudert
parent 27f4a30aaa
commit c04ad28a7a

18
Formula/needle.rb Normal file
View file

@ -0,0 +1,18 @@
class Needle < Formula
desc "Compile-time safe Swift dependency injection framework with real code"
homepage "https://github.com/uber/needle"
url "https://github.com/uber/needle.git",
:tag => "v0.8.5",
:revision => "e08b1ad4948f8bab44d1898b8707fffc2de0a690"
depends_on :xcode => ["10.0", :build]
depends_on :xcode => "6.0"
def install
system "make", "install", "BINARY_FOLDER_PREFIX=#{prefix}"
end
test do
assert_match "0.8.5", shell_output("#{bin}/needle version")
end
end