From f1af76635abddd9aad51047f925e01a242c59f2e Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 28 Sep 2015 14:28:47 +0700 Subject: [PATCH] Project.clj housekeeping, drop support for Clojure 1.4 Clojure 1.4 support is becoming more and more hassle; not worth it --- project.clj | 13 +++++-------- test/taoensso/nippy/tests/main.clj | 2 ++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/project.clj b/project.clj index 360469c..b4aa224 100644 --- a/project.clj +++ b/project.clj @@ -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"]} diff --git a/test/taoensso/nippy/tests/main.clj b/test/taoensso/nippy/tests/main.clj index 5781f52..24c2c55 100644 --- a/test/taoensso/nippy/tests/main.clj +++ b/test/taoensso/nippy/tests/main.clj @@ -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}))