Project.clj housekeeping, drop support for Clojure 1.4

Clojure 1.4 support is becoming more and more hassle; not worth it
This commit is contained in:
Peter Taoussanis 2015-09-28 14:28:47 +07:00
parent 67d1dfd34f
commit f1af76635a
2 changed files with 7 additions and 8 deletions

View file

@ -12,9 +12,9 @@
*unchecked-math* :warn-on-boxed}
:dependencies
[[org.clojure/clojure "1.4.0"]
[[org.clojure/clojure "1.5.1"]
[org.clojure/tools.reader "0.9.2"]
[com.taoensso/encore "1.38.0"] ; 2.x needs Clojure 1.5+
[com.taoensso/encore "2.18.0"]
[org.iq80.snappy/snappy "0.4"]
[org.tukaani/xz "1.5"]
[net.jpountz.lz4/lz4 "1.3"]]
@ -25,16 +25,14 @@
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.6 {:dependencies [[org.clojure/clojure "1.6.0"]]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0-alpha5"]]}
:test {:jvm-opts ["-Xms1024m" "-Xmx2048m"]
:dependencies [[expectations "2.1.1"]
[org.clojure/test.check "0.8.2"]
;; [com.cemerick/double-check "0.6.1"]
[org.clojure/data.fressian "0.2.1"]
[org.xerial.snappy/snappy-java "1.1.2"]]}
:dev [:1.7 :test
{:dependencies
[[com.taoensso/encore "2.18.0"]]
:plugins
{:plugins
[[lein-pprint "1.1.1"]
[lein-ancient "0.6.7"]
[lein-expectations "0.0.8"]
@ -44,8 +42,7 @@
:test-paths ["test" "src"]
:aliases
{"test-all" ["with-profile" "default:+1.5:+1.6:+1.7" "expectations"]
;; "test-all" ["with-profile" "default:+1.6" "expectations"]
{"test-all" ["with-profile" "+1.5:+1.6:+1.7:+1.8" "expectations"]
"test-auto" ["with-profile" "+test" "autoexpect"]
"deploy-lib" ["do" "deploy" "clojars," "install"]
"start-dev" ["with-profile" "+server-jvm" "repl" ":headless"]}

View file

@ -14,6 +14,8 @@
;;;; Core
(expect (do (println (str "Clojure version: " *clojure-version*)) true))
(expect test-data ((comp thaw freeze) test-data))
(expect test-data ((comp #(thaw % {})
#(freeze % {:legacy-mode true}))