homebrew-core/Formula/planck.rb

29 lines
884 B
Ruby
Raw Normal View History

class Planck < Formula
desc "A command-line ClojureScript REPL for OS X."
homepage "http://planck.fikesfarm.com/"
head "https://github.com/mfikes/planck.git"
url "https://github.com/mfikes/planck/archive/1.8.tar.gz"
sha256 "dba34141820d86adc5425d448d6cc51d47bbb992153a129e37c730dcfff6381a"
2015-08-03 21:51:34 +00:00
bottle do
2015-10-03 18:44:39 +00:00
cellar :any_skip_relocation
2015-11-06 14:18:34 +00:00
sha256 "c1a9520ac7df69486ef0fb7a62356e4338c555c97e5b6664d710dc7f07f81754" => :el_capitan
sha256 "ccf145721a5855655bbdb86be12d315dad1652b05d4fe47530101225a3a1d912" => :yosemite
sha256 "42162719725dcefe094f12e07bdcaa1b46603b3e1f82d989a8796271bce010ae" => :mavericks
2015-08-03 21:51:34 +00:00
end
depends_on "leiningen" => :build
depends_on :xcode => :build
depends_on :macos => :lion
def install
system "./script/build-sandbox"
bin.install "build/Release/planck"
end
test do
system "#{bin}/planck", "-e", "(- 1 1)"
end
end