31 lines
994 B
Ruby
31 lines
994 B
Ruby
class Planck < Formula
|
|
desc "Stand-alone ClojureScript REPL"
|
|
homepage "http://planck-repl.org/"
|
|
url "https://github.com/mfikes/planck/archive/2.8.1.tar.gz"
|
|
sha256 "70dcc04d1f97b90e5830a4c6f92e4a9b8bb1ecca15f33e6656f5c71f254cc729"
|
|
head "https://github.com/mfikes/planck.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "e3932cd200ad1e87f892eb878eaf083f5fb35ae7ee448c263e35320e4a2d88b2" => :high_sierra
|
|
sha256 "62fb3abd7c57927531cfd9280f077544572932c222b3ad672efdbbbb1236b5fb" => :sierra
|
|
sha256 "21f9ace1fafc4924d57d2480d127e9dcbfab5fd7ace17cfde667852c42a198c9" => :el_capitan
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "leiningen" => :build
|
|
depends_on :xcode => :build
|
|
depends_on "libzip"
|
|
depends_on "icu4c"
|
|
depends_on :macos => :mavericks
|
|
|
|
def install
|
|
system "./script/build-sandbox"
|
|
bin.install "planck-c/build/planck"
|
|
end
|
|
|
|
test do
|
|
assert_equal "0", shell_output("#{bin}/planck -e '(- 1 1)'").chomp
|
|
end
|
|
end
|