timbre/project.clj

102 lines
4.2 KiB
Clojure
Raw Normal View History

2015-05-25 12:46:28 +00:00
(defproject com.taoensso/timbre "4.0.0-SNAPSHOT"
2014-02-23 12:34:37 +00:00
:author "Peter Taoussanis <https://www.taoensso.com>"
2015-05-25 12:46:28 +00:00
:description "Clojure/Script logging & profiling library"
:url "https://github.com/ptaoussanis/timbre"
:license {:name "Eclipse Public License"
2014-02-23 12:34:37 +00:00
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo
:comments "Same as Clojure"}
:min-lein-version "2.3.3"
:global-vars {*warn-on-reflection* true
2015-05-25 12:46:28 +00:00
*assert* true}
2014-07-07 08:06:28 +00:00
2014-02-23 12:34:37 +00:00
:dependencies
2014-02-23 12:46:49 +00:00
[[org.clojure/clojure "1.4.0"]
[com.taoensso/encore "1.31.0"]
2015-05-25 12:46:28 +00:00
[io.aviso/pretty "0.1.18"]]
:plugins
[[lein-pprint "1.1.2"]
[lein-ancient "0.6.7"]
[lein-expectations "0.0.8"]
[lein-autoexpect "1.4.3"]
[codox "0.8.12"]]
2014-02-23 12:34:37 +00:00
:profiles
{;; :default [:base :system :user :provided :dev]
2014-07-07 08:06:28 +00:00
:server-jvm {:jvm-opts ^:replace ["-server"]}
2014-02-23 12:34:37 +00:00
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
2014-03-30 13:57:26 +00:00
:1.6 {:dependencies [[org.clojure/clojure "1.6.0"]]}
2015-05-25 12:46:28 +00:00
:1.7 {:dependencies [[org.clojure/clojure "1.7.0-RC1"]]}
2015-03-20 08:22:29 +00:00
:test {:dependencies [[expectations "2.1.0"]
2015-02-16 06:00:51 +00:00
[org.clojure/tools.logging "0.3.1"]
2015-05-25 12:46:28 +00:00
;; Appender deps
[com.taoensso/nippy "2.9.0-RC2"]
[com.taoensso/carmine "2.10.0"]
2015-02-16 06:00:51 +00:00
[com.draines/postal "1.11.3"]
2015-05-25 12:46:28 +00:00
[irclj "0.5.0-alpha4"]]}
2014-02-23 12:34:37 +00:00
:dev
2015-05-25 12:46:28 +00:00
[:1.7 :test
{:dependencies [[org.clojure/clojurescript "0.0-3297"]]
:plugins
[;; These must be in :dev, Ref. https://github.com/lynaghk/cljx/issues/47:
[com.keminglabs/cljx "0.6.0"]
[lein-cljsbuild "1.0.6"]]}]}
;; :jar-exclusions [#"\.cljx|\.DS_Store"]
:source-paths ["src" "target/classes"]
:test-paths ["src" "test" "target/test-classes"]
:cljx
{:builds
[{:source-paths ["src"] :rules :clj :output-path "target/classes"}
{:source-paths ["src"] :rules :cljs :output-path "target/classes"}
{:source-paths ["src" "test"] :rules :clj :output-path "target/test-classes"}
{:source-paths ["src" "test"] :rules :cljs :output-path "target/test-classes"}]}
:cljsbuild
{:test-commands {"node" ["node" :node-runner "target/tests.js"]
;; "phantom" ["phantomjs" :runner "target/tests.js"]
}
:builds
;; TODO Parallel builds currently cause issues with Expectations v2.1.0,
;; Ref. http://goo.gl/8LDHe5
[{:id "main"
:source-paths ["src" "target/classes"]
;; :notify-command ["terminal-notifier" "-title" "cljsbuild" "-message"]
:compiler {:output-to "target/main.js"
:optimizations :advanced
:pretty-print false}}
{:id "tests"
:source-paths ["src" "target/classes" "test" "target/test-classes"]
:notify-command ["node" "target/tests.js"]
:compiler {:output-to "target/tests.js"
:optimizations :simple ; Necessary for node.js
:pretty-print true
:target :nodejs
:hashbang false ; Ref. http://goo.gl/vrtNDR
:main "taoensso.encore.tests"}}]}
:auto-clean false
:prep-tasks [["cljx" "once"] "javac" "compile"]
2014-07-07 08:06:28 +00:00
2015-05-25 12:46:28 +00:00
:codox {:language :clojure ; [:clojure :clojurescript] cljsbuild ; No support?
:sources ["target/classes"]
:src-linenum-anchor-prefix "L"
:src-dir-uri "http://github.com/ptaoussanis/encore/blob/master/src/"
:src-uri-mapping {#"target/classes"
#(.replaceFirst (str %) "(.cljs$|.clj$)" ".cljx")}}
2014-02-23 12:34:37 +00:00
:aliases
2015-05-25 12:46:28 +00:00
{"test-all" ["do" "clean," "cljx" "once,"
"with-profile" "default:+1.5:+1.6:+1.7" "expectations,"
"with-profile" "+test" "cljsbuild" "test"]
2014-02-23 12:34:37 +00:00
"test-auto" ["with-profile" "+test" "autoexpect"]
2015-05-25 12:46:28 +00:00
"build-once" ["do" "clean," "cljx" "once," "cljsbuild" "once" "main"]
"deploy-lib" ["do" "build-once," "deploy" "clojars," "install"]
2014-07-07 08:06:28 +00:00
"start-dev" ["with-profile" "+server-jvm" "repl" ":headless"]}
2014-02-23 12:34:37 +00:00
2014-09-02 15:01:35 +00:00
:repositories {"sonatype-oss-public"
"https://oss.sonatype.org/content/groups/public/"})