Skip to content

Commit

Permalink
Update Clojure and ClojureScript to cljc compatible versions
Browse files Browse the repository at this point in the history
This forces upgrades to lein-cljsbuild and austin
Also, with the update to lein-cljsbuild, :whitespace doesn't seem to be the
default optimization anymore so I set it manually.
  • Loading branch information
fredZen committed Mar 4, 2016
1 parent 024cf53 commit 8cc6f4e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
:url "https://github.com/weavejester/reagi"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/core.async "0.2.374"]
[org.clojure/clojurescript "0.0-2202"]]
[org.clojure/clojurescript "1.7.228"]]
:plugins [[codox "0.6.7"]
[lein-cljsbuild "1.0.3"]
[lein-cljsbuild "1.1.2"]
[com.keminglabs/cljx "0.3.2"]]
:source-paths ["src/clojure" "src/cljs"]
:test-paths ["test/clojure"]
Expand All @@ -22,17 +22,19 @@
:codox {:sources ["target/classes"]}
:cljsbuild
{:builds [{:source-paths ["target/classes"]
:compiler {:output-to "target/main.js"}}]}
:compiler {:output-to "target/main.js"
:optimizations :whitespace}}]}
:profiles
{:dev {:plugins [[com.cemerick/austin "0.1.4"]]
{:dev {:plugins [[com.cemerick/austin "0.1.6"]]
:dependencies [[criterium "0.4.2"]]
:repl-options {:init (require '[reagi.core :as r]
'[clojure.core.async
:as a :refer [go go-loop <! >! <!! >!!]])}}
:test {:plugins [[com.cemerick/clojurescript.test "0.3.0"]]
:cljsbuild
{:builds ^:replace [{:source-paths ["target/classes" "test/cljs"]
:compiler {:output-to "target/test.js"}}]
:compiler {:output-to "target/test.js"
:optimizations :whitespace}}]
:test-commands {"unit-tests" ["phantomjs" :runner "target/test.js"]}}}}
:aliases
{"test-cljs" ["with-profile" "test" "cljsbuild" "test"]
Expand Down

0 comments on commit 8cc6f4e

Please sign in to comment.