CoreLocationCLI 2.0.0 (new formula)
Closes Homebrew/homebrew#43759. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
5326bd949d
commit
35530f5cdc
1 changed files with 17 additions and 0 deletions
17
Formula/corelocationcli.rb
Normal file
17
Formula/corelocationcli.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class Corelocationcli < Formula
|
||||
desc "Prints location information from CoreLocation"
|
||||
homepage "https://github.com/fulldecent/corelocationcli"
|
||||
url "https://github.com/fulldecent/corelocationcli/archive/2.0.0.tar.gz"
|
||||
sha256 "d256ae0a534ef15f4b9a77704ef3bd52935c310a4f6a687657d79945c5544515"
|
||||
|
||||
depends_on :xcode => :build
|
||||
|
||||
def install
|
||||
xcodebuild "-project", "CoreLocationCLI.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}"
|
||||
bin.install "build/Release/CoreLocationCLI"
|
||||
end
|
||||
|
||||
test do
|
||||
shell_output("#{bin}/CoreLocationCLI -h", 1)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue