From 417bd282f6b3eec96b22d85ae9231556f7243544 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Tue, 25 Feb 2014 14:37:27 +0700 Subject: [PATCH 1/3] Add `lein start-dev` info to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 24f2a3d..7e623b0 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,8 @@ There's two default forms of encryption on offer: `:salted` and `:cached`. Each ## Contact & contributing +`lein start-dev` to get a (headless) development repl that you can connect to with [Cider][] (emacs) or your IDE. + Please use the project's GitHub [issues page][] for project questions/comments/suggestions/whatever **(pull requests welcome!)**. Am very open to ideas if you have any! Otherwise reach me (Peter Taoussanis) at [taoensso.com][] or on [Twitter][]. Cheers! @@ -176,5 +178,6 @@ Copyright © 2012-2014 Peter Taoussanis. Distributed under the [Eclipse Publ [ClojureWerkz]: [issues page]: [commit history]: +[Cider]: [taoensso.com]: [Eclipse Public License]: From f57e3a4c4e971769e7759dbc1f727c52fc4171de Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 26 Feb 2014 16:35:04 +0700 Subject: [PATCH 2/3] Fix project.clj to prevent unnecessary downstream deps --- project.clj | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/project.clj b/project.clj index 850ad69..ec39c8d 100644 --- a/project.clj +++ b/project.clj @@ -12,22 +12,25 @@ :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/tools.reader "0.8.3"] + [com.taoensso/encore "0.9.2"] [org.iq80.snappy/snappy "0.3"] - [org.tukaani/xz "1.4"] - [com.taoensso/encore "0.8.0"]] + [org.tukaani/xz "1.4"]] :test-paths ["test" "src"] :profiles - {:build {:hooks ^:replace []} ; Workaround to avoid :dev hooks during deploy + {;; :default [:base :system :user :provided :dev] :1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]} :1.6 {:dependencies [[org.clojure/clojure "1.6.0-beta1"]]} :test {:jvm-opts ["-Xms1024m" "-Xmx2048m"] :dependencies [[expectations "1.4.56"] [reiddraper/simple-check "0.5.6"] - [org.xerial.snappy/snappy-java "1.1.1-M1"] - [org.clojure/data.fressian "0.2.0"]] + [org.clojure/data.fressian "0.2.0"] + [org.xerial.snappy/snappy-java "1.1.1-M1"]] :plugins [[lein-expectations "0.0.8"] [lein-autoexpect "1.2.2"]]} + :dev* [:dev {:jvm-opts ^:replace ["-server"] + ;; :hooks [cljx.hooks leiningen.cljsbuild] ; cljx + }] :dev [:1.6 :test {:jvm-opts ^:replace ["-server" "-Xms1024m" "-Xmx2048m"] @@ -38,13 +41,15 @@ :plugins [[lein-ancient "0.5.4"] [codox "0.6.7"]] - ;; :codox {:sources ["target/classes"]} ; For use with cljx + ;; :codox {:sources ["target/classes"]} ; cljx :aliases - {"test-all" ["with-profile" "+test:+1.5,+test:+1.6,+test" "expectations"] + {"test-all" ["with-profile" "default:+1.5:+1.6" "expectations"] + ;; "test-all" ["with-profile" ":+1.6," "expectations"] ; Soon... "test-auto" ["with-profile" "+test" "autoexpect"] - "start-dev" ["with-profile" "+dev" "repl" ":headless"] - "codox" ["with-profile" "+test" "doc"] - "deploy-lib" ["with-profile" "+dev,+build" "do" "deploy" "clojars," "install"]} + ;; "build-once" ["do" "cljx" "once," "cljsbuild" "once"] ; cljx + ;; "deploy-lib" ["do" "build-once," "deploy" "clojars," "install"] ; cljx + "deploy-lib" ["do" "deploy" "clojars," "install"] + "start-dev" ["with-profile" "+dev*" "repl" ":headless"]} :repositories {"sonatype" From 26c16866a5dfcdff2f81d7206defc5bc059ea561 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 26 Feb 2014 16:35:58 +0700 Subject: [PATCH 3/3] v2.6.0-beta2 --- CHANGELOG.md | 2 +- README.md | 2 +- project.clj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4baf99d..a11d457 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## v2.6.0-beta1 / 2014 Feb 23 +## v2.6.0-beta2 / 2014 Feb 26 > Welcoming feedback on any issues, etc.! diff --git a/README.md b/README.md index 7e623b0..e953d5f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ```clojure [com.taoensso/nippy "2.5.2"] ; Stable -[com.taoensso/nippy "2.6.0-beta1"] ; For early adopters +[com.taoensso/nippy "2.6.0-beta2"] ; For early adopters ``` v2.6 will be a backwards-compatible release with: improved performance (incl. frozen data size), a new low-level DataInput/DataOuput API, improved support for headerless freezing, and 1-to-1 binary-value representation guarantees. See the [Changelog](https://github.com/ptaoussanis/nippy/blob/master/CHANGELOG.md) for details. diff --git a/project.clj b/project.clj index ec39c8d..ce8846d 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.taoensso/nippy "2.6.0-beta1" +(defproject com.taoensso/nippy "2.6.0-beta2" :author "Peter Taoussanis " :description "Clojure serialization library" :url "https://github.com/ptaoussanis/nippy"