From b80914e82e65f297077945f636306be9af54dc82 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Mon, 15 Dec 2014 23:57:10 +0100 Subject: clojurescript r2411 Closes #35016. Signed-off-by: Jack Nagel --- Library/Formula/clojurescript.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Library/Formula/clojurescript.rb') diff --git a/Library/Formula/clojurescript.rb b/Library/Formula/clojurescript.rb index fe148cb5c..1ff844968 100644 --- a/Library/Formula/clojurescript.rb +++ b/Library/Formula/clojurescript.rb @@ -3,8 +3,8 @@ require "formula" class Clojurescript < Formula homepage "https://github.com/clojure/clojurescript" head "https://github.com/clojure/clojurescript.git" - url "https://github.com/clojure/clojurescript/archive/r2371.tar.gz" - sha1 "63284f043f2f61adcc78de60998520b382b5f135" + url "https://github.com/clojure/clojurescript/archive/r2411.tar.gz" + sha1 "99022cf050aa5f712b295e74aa8e845ad6cdb4b8" bottle do cellar :any @@ -28,6 +28,12 @@ class Clojurescript < Formula end test do - system "#{bin}/cljsc" + (testpath/"t.cljs").write <<-EOF.undent + (ns hello) + (defn ^:export greet [n] + (str "Hello " n)) + EOF + + system "#{bin}/cljsc", testpath/"t.cljs" end end -- cgit v1.2.3