diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/whereami.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/whereami.rb b/Library/Formula/whereami.rb new file mode 100644 index 000000000..1061ee9fe --- /dev/null +++ b/Library/Formula/whereami.rb @@ -0,0 +1,16 @@ +class Whereami < Formula + homepage "http://victor.github.io/whereami/" + url "https://github.com/victor/whereami/archive/v1.0.tar.gz" + sha1 "2f81e4b05af5f6806590d7212c0dbfbea00a75e0" + + depends_on :xcode => ["6.1.1", :build] + depends_on :macos => :yosemite + + def install + system "xcodebuild", "install", "DSTROOT=#{prefix}", "INSTALL_PATH=/bin" + end + + test do + system "whereami", "--version" + end +end |
