2015-08-03 19:29:47 +00:00
|
|
|
class Planck < Formula
|
|
|
|
desc "A command-line ClojureScript REPL for OS X."
|
|
|
|
homepage "http://planck.fikesfarm.com/"
|
2015-08-22 16:04:23 +00:00
|
|
|
head "https://github.com/mfikes/planck.git"
|
|
|
|
url "https://github.com/mfikes/planck/archive/1.6.tar.gz"
|
|
|
|
sha256 "e734a5ccbed1b63273c06555cf61acb6f95a3b18433ba0e8ffdeadba176ccbe6"
|
2015-08-03 19:29:47 +00:00
|
|
|
|
2015-08-03 21:51:34 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-08-22 21:08:37 +00:00
|
|
|
sha256 "403a8300b584bd78ddf2db45da9c50dda359f08d1b8d84962ff43f0712bae76a" => :yosemite
|
|
|
|
sha256 "7c6aaed8b00064196c1a78d313c9c52fdded7b4eb118733fd94d396d3bac818e" => :mavericks
|
|
|
|
sha256 "afe3b52af788df04ac564d5d315d442433ce7c360d14c72aaddfc2364cca4b78" => :mountain_lion
|
2015-08-03 21:51:34 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 19:29:47 +00:00
|
|
|
depends_on "leiningen" => :build
|
|
|
|
|
|
|
|
depends_on :xcode => :build
|
2015-08-22 16:04:23 +00:00
|
|
|
depends_on :macos => :mountain_lion
|
2015-08-03 19:29:47 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-22 16:04:23 +00:00
|
|
|
system "./script/build-sandbox"
|
2015-08-03 19:29:47 +00:00
|
|
|
bin.install "build/Release/planck"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-08-15 20:17:31 +00:00
|
|
|
system "#{bin}/planck", "-e", "(- 1 1)"
|
2015-08-03 19:29:47 +00:00
|
|
|
end
|
|
|
|
end
|