2016-11-22 23:09:03 +00:00
|
|
|
class Lumo < Formula
|
|
|
|
desc "Fast, cross-platform, standalone ClojureScript REPL"
|
|
|
|
homepage "https://github.com/anmonteiro/lumo"
|
|
|
|
url "https://github.com/anmonteiro/lumo/archive/1.0.0.tar.gz"
|
|
|
|
sha256 "347ec7a57f2b85d7d23489f5d1f7e0ef9705d652d14fbbf83e0058a73cd44387"
|
|
|
|
head "https://github.com/anmonteiro/lumo.git"
|
|
|
|
|
2016-11-22 23:29:50 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "3e9852b8ca3e68827bcd900e2738fdae8f8bab492888e3a56a9b84f8bb5d54ce" => :sierra
|
|
|
|
sha256 "3f2a04bcd3c4d8bc59b9e13c1693626c6d78843c177bde6aef1c142a4cf98bb8" => :el_capitan
|
|
|
|
sha256 "0aa3268d1944247a7634d8b0e3902d473e53de23867d66eff9cc2f784f543425" => :yosemite
|
|
|
|
end
|
|
|
|
|
2016-11-22 23:09:03 +00:00
|
|
|
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
|