diff options
| author | Victor Jalencas | 2014-12-27 21:27:25 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-30 14:15:38 +0000 |
| commit | 0fe078f17343529ac8d4730f3d66b7d36cc06d57 (patch) | |
| tree | c4c2d7c69e0290f61dfd504620a50502f9ee4054 /Library | |
| parent | 2620384c74386aba80cf52583f0da4efc716e11e (diff) | |
| download | homebrew-0fe078f17343529ac8d4730f3d66b7d36cc06d57.tar.bz2 | |
whereami 1.0 (new formula)
Diffstat (limited to 'Library')
| -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 |
