lumo 1.0.0 (new formula)
Closes #6885. Signed-off-by: William Woodruff <william@tuffbizz.com>
This commit is contained in:
parent
3fc688627d
commit
d88fc7b4ed
1 changed files with 22 additions and 0 deletions
22
Formula/lumo.rb
Normal file
22
Formula/lumo.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
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"
|
||||
|
||||
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
|
Loading…
Reference in a new issue