homebrew-core/Formula/planck.rb
Mike Fikes 7ddaa394b4 planck 2.0.0-rc.1 (devel)
Closes #9356.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-01-28 18:31:23 +01:00

38 lines
1.3 KiB
Ruby

class Planck < Formula
desc "Stand-alone ClojureScript REPL"
homepage "http://planck-repl.org/"
url "https://github.com/mfikes/planck/archive/1.17.tar.gz"
sha256 "f088acecc25412f901b512478d9fd5acf38c1ff0276f18d45f78ad9a5ce37596"
head "https://github.com/mfikes/planck.git"
bottle do
cellar :any_skip_relocation
sha256 "d670247f5e9010f363d0c4743b188dd0dd46192f3070d6a1b97aa60071040610" => :sierra
sha256 "338db78620d60b90ee0ab18b32873a1b17782948c57d5cfc074d3e902380013e" => :el_capitan
sha256 "4544586aa9c310f34060dba25a4cd558aa70c1863f5303aae8ed7c7602d110d9" => :yosemite
sha256 "237e29161849ae72add25713a1e6ce3d3aab357f887cd4864fe10bdde266be35" => :mavericks
end
devel do
url "https://github.com/mfikes/planck/archive/2.0.0-rc.1.tar.gz"
version "2.0.0-rc.1"
sha256 "755853ff3712e3867dc252653d2e36faec5db68a561a4138055dbdabc2af1edb"
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libzip"
depends_on "icu4c"
end
depends_on "leiningen" => :build
depends_on :xcode => :build
depends_on :macos => :mavericks
def install
system "./script/build-sandbox"
bin.install "build/Release/planck"
end
test do
assert_equal "0", shell_output("#{bin}/planck -e '(- 1 1)'").chomp
end
end