Update project.clj template

This commit is contained in:
Peter Taoussanis 2014-07-07 15:06:28 +07:00
parent f430ed9f81
commit 60e87e374a
1 changed files with 11 additions and 14 deletions

View File

@ -9,42 +9,39 @@
:min-lein-version "2.3.3"
:global-vars {*warn-on-reflection* true
*assert* true}
:dependencies
[[org.clojure/clojure "1.4.0"]
[com.taoensso/encore "1.5.1"]
[io.aviso/pretty "0.1.10"]]
:test-paths ["test" "src"]
:profiles
{;; :default [:base :system :user :provided :dev]
:server-jvm {:jvm-opts ^:replace ["-server"]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.6 {:dependencies [[org.clojure/clojure "1.6.0"]]}
:test {:dependencies [[expectations "1.4.56"]
[org.clojure/test.check "0.5.7"]
[com.taoensso/nippy "2.6.3"]
[com.taoensso/carmine "2.6.2"]
[com.draines/postal "1.11.1"]
:test {:dependencies [[expectations "2.0.7"]
[org.clojure/test.check "0.5.8"]
[com.taoensso/nippy "2.6.3"]
[com.taoensso/carmine "2.6.2"]
[com.draines/postal "1.11.1"]
[org.clojure/tools.logging "0.2.6"]]
: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
{:dependencies [[irclj "0.5.0-alpha4"]]
:plugins [[lein-ancient "0.5.4"]
[codox "0.6.7"]]}]}
[codox "0.8.10"]]}]}
:test-paths ["test" "src"]
;; :codox {:sources ["target/classes"]} ; cljx
:aliases
{"test-all" ["with-profile" "default:+1.5:+1.6" "expectations"]
;; "test-all" ["with-profile" "default:+1.6" "expectations"]
"test-auto" ["with-profile" "+test" "autoexpect"]
;; "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"]}
"start-dev" ["with-profile" "+server-jvm" "repl" ":headless"]}
:repositories
{"sonatype"