aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAria Stewart2014-11-30 19:03:11 -0500
committerMike McQuaid2014-12-04 10:10:59 +0000
commita3fe4d0ecc2164921bbf6ef7c0384767f122e0e6 (patch)
tree3fafcccceb747703144be10cd7f6fd781438e4e0 /Library/Formula
parenteae03b3dd596c039a676e785509b2c6d6ddb9a2b (diff)
downloadhomebrew-a3fe4d0ecc2164921bbf6ef7c0384767f122e0e6.tar.bz2
odo 0.1.0 (new formula)
Closes #34572. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/odo.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/odo.rb b/Library/Formula/odo.rb
new file mode 100644
index 000000000..83a6e2ab3
--- /dev/null
+++ b/Library/Formula/odo.rb
@@ -0,0 +1,19 @@
+require "formula"
+
+class Odo < Formula
+ homepage "https://github.com/atomicobject/odo"
+ url "https://github.com/atomicobject/odo/archive/v0.1.0.tar.gz"
+ sha1 "36cbe1b626612e0bbdf719640801d84b8234d7af"
+
+ def install
+ system "make"
+ man1.mkpath
+ bin.mkpath
+ system "make", "test"
+ system "make", "install", "PREFIX=#{prefix}"
+ end
+
+ test do
+ system "odo", "testlog"
+ end
+end