homebrew-core/Formula/lumo.rb
2018-11-08 23:31:52 +01:00

30 lines
1 KiB
Ruby

class Lumo < Formula
desc "Fast, cross-platform, standalone ClojureScript environment"
homepage "https://github.com/anmonteiro/lumo"
url "https://github.com/anmonteiro/lumo/archive/1.9.0.tar.gz"
sha256 "fc71a6a0b6ce928b3af93f1a119b6920d8bf6bbde1ed5f873f1bda4fb5fc23d7"
head "https://github.com/anmonteiro/lumo.git"
bottle do
cellar :any_skip_relocation
sha256 "9fdf5253f8f960d9236e5b72f9cf775f44279896126426230919ec7eff3a5224" => :mojave
sha256 "acb9ce4ce5002b0dfb0d1eeedeb15603275dff753c1d5258c5e3ceaedaf863fb" => :high_sierra
sha256 "3a007b6223ba916352efd2a7e207899e4807b504650e8d5eeeeb35fb401d51fc" => :sierra
end
depends_on "boot-clj" => :build
depends_on :java => ["1.8", :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-ci"
bin.install "build/lumo"
end
test do
assert_equal "0", shell_output("#{bin}/lumo -e '(- 1 1)'").chomp
end
end