forked from taoensso/truss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
89 lines (77 loc) · 3.29 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
(defproject com.taoensso/truss "1.0.0"
:author "Peter Taoussanis <https://www.taoensso.com>"
:description "Assertions API for Clojure/Script"
:url "https://github.com/ptaoussanis/truss"
:license {:name "Eclipse Public License"
: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
*assert* true
;; *unchecked-math* :warn-on-boxed
}
:dependencies
[[org.clojure/clojure "1.5.1"]]
:plugins
[[lein-pprint "1.1.2"]
[lein-ancient "0.6.8"]
[lein-codox "0.9.1"]]
: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"]]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0-RC5"]]}
:test {:dependencies [[org.clojure/test.check "0.9.0"]]}
:dev
[:1.8 :test
{:dependencies
[[org.clojure/clojurescript "1.7.145"]]
:plugins
[;; These must be in :dev, Ref. https://github.com/lynaghk/cljx/issues/47:
[com.keminglabs/cljx "0.6.0"]
[lein-cljsbuild "1.1.2"]]}]}
;; :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 {}
:builds
[{: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 []
:compiler {:output-to "target/tests.js"
:optimizations :whitespace
:pretty-print true
:main "taoensso.encore.tests"}}]}
:auto-clean false
:prep-tasks [["cljx" "once"] "javac" "compile"]
:codox
{:language :clojure ; [:clojure :clojurescript] ; No support?
:source-paths ["target/classes"]
:source-uri
{#"target/classes" "https://github.com/ptaoussanis/truss/blob/master/src/{classpath}x#L{line}"
#".*" "https://github.com/ptaoussanis/truss/blob/master/{filepath}#L{line}"}}
:aliases
{"test-all" ["do" "clean," "cljx" "once,"
"with-profile" "+1.5:+1.6:+1.7:+1.8" "test,"
;; "with-profile" "+test" "cljsbuild" "test"
]
"build-once" ["do" "clean," "cljx" "once," "cljsbuild" "once" "main"]
"deploy-lib" ["do" "build-once," "deploy" "clojars," "install"]
"start-dev" ["with-profile" "+server-jvm" "repl" ":headless"]}
:repositories {"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"})