homebrew-core/Formula/lumo.rb

30 lines
1,009 B
Ruby
Raw Normal View History

class Lumo < Formula
desc "Fast, cross-platform, standalone ClojureScript REPL"
homepage "https://github.com/anmonteiro/lumo"
url "https://github.com/anmonteiro/lumo/archive/1.1.0.tar.gz"
sha256 "03bf4b80ea2163c26c584fc80fe28de250e553c4443b58ddf489749fa8da0249"
head "https://github.com/anmonteiro/lumo.git"
2016-11-22 23:29:50 +00:00
bottle do
cellar :any_skip_relocation
2017-01-29 03:22:03 +00:00
sha256 "b3e7944aeb12061c523bdb16761c4e3155fc9ba461e14c5bdd36021646e4e979" => :sierra
sha256 "76d01172eabd9b00a2a556dcc5a272ea70f945590c3e179cd0ae68d0d1455621" => :el_capitan
sha256 "d398aaf771ef1b5676f84b729ca3d511d6265648b62eaf99b454425a2b0c7dbb" => :yosemite
2016-11-22 23:29:50 +00:00
end
depends_on "boot-clj" => :build
depends_on "node" => :build
depends_on "yarn" => :build
def install
ENV["BOOT_HOME"] = "#{buildpath}/.boot"
ENV["BOOT_LOCAL_REPO"] = "#{buildpath}/.m2/repository"
system "boot", "release"
bin.install "build/lumo"
end
test do
assert_equal "0", shell_output("#{bin}/lumo -e '(- 1 1)'").chomp
end
end