From 836676b56059d91d9e539baf86210f51bfa6e92a Mon Sep 17 00:00:00 2001 From: Derek Slager Date: Mon, 3 Aug 2015 12:29:47 -0700 Subject: [PATCH] planck 1.3 (new formula) Closes #42423. Signed-off-by: Mike McQuaid --- Library/Formula/planck.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/Formula/planck.rb diff --git a/Library/Formula/planck.rb b/Library/Formula/planck.rb new file mode 100644 index 000000000000..d12cf30500ab --- /dev/null +++ b/Library/Formula/planck.rb @@ -0,0 +1,20 @@ +class Planck < Formula + desc "A command-line ClojureScript REPL for OS X." + homepage "http://planck.fikesfarm.com/" + url "https://github.com/mfikes/planck/archive/1.3.tar.gz" + sha256 "82dabffc03cf16527a867782714f81b93e7bb9e7a5db9d3992b74cc74c169790" + + depends_on "leiningen" => :build + + depends_on :xcode => :build + depends_on :macos => :yosemite + + def install + system "./build.sh" + bin.install "build/Release/planck" + end + + test do + system "#{bin}/planck", "-e", "'(- 1 1)'" + end +end