-
Notifications
You must be signed in to change notification settings - Fork 21
/
project.clj
63 lines (57 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
(defproject nubank/matcher-combinators "1.2.1"
:description "Library for creating matcher combinator to compare nested data structures"
:url "https://github.com/nubank/matcher-combinators"
:license {:name "Apache License, Version 2.0"}
:repositories [["central" {:url "https://repo1.maven.org/maven2/" :snapshots false}]
["clojars" {:url "https://clojars.org/repo/"}]]
:cljfmt {:indents {facts [[:block 1]]
fact [[:block 1]]
fdef [[:block 1]]
provided [[:inner 0]]
tabular [[:inner 0]]}}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/spec.alpha "0.2.176"]
[org.clojure/math.combinatorics "0.1.6"]
[midje "1.9.9" :exclusions [org.clojure/clojure]]]
:test-paths ["test/clj"]
:source-paths ["src/cljc" "src/cljs" "src/clj"]
:profiles {:dev {:plugins [[lein-midje "3.2.1"]
[lein-cljfmt "0.5.7"]
[lein-cljsbuild "1.1.7"]
[lein-ancient "0.6.15"]
[lein-doo "0.1.11"]]
:dependencies [[org.clojure/test.check "0.10.0"]
[org.clojure/clojurescript "1.10.520"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}}
:aliases {"lint" ["do" "cljfmt"]
"lint-fix" ["do" "cljfmt" "fix,"]
"test-clj" ["all" "do" ["test"] ["check"]]
"test-phantom" ["doo" "phantom" "test"]
"test-advanced" ["doo" "phantom" "advanced-test"]
"test-node-watch" ["doo" "node" "node-test"]
"test-node" ["doo" "node" "node-test" "once"]}
;; Below, :process-shim false is workaround for <https://github.com/bensu/doo/pull/141>
:cljsbuild {:builds [{:id "test"
:source-paths ["src/cljc" "src/cljs" "test/cljc" "test/cljs"]
:compiler {:output-to "target/out/test.js"
:output-dir "target/out"
:main matcher-combinators.doo-runner
:optimizations :none
:process-shim false}}
{:id "advanced-test"
:source-paths ["src/cljc" "src/cljs" "test/cljc" "test/cljs"]
:compiler {:output-to "target/advanced_out/test.js"
:output-dir "target/advanced_out"
:main matcher-combinator.doo-runner
:optimizations :advanced
:process-shim false}}
;; Node.js requires :target :nodejs, hence the separate
;; build configuration.
{:id "node-test"
:source-paths ["src/cljc" "src/cljs" "test/cljc" "test/cljs"]
:compiler {:output-to "target/node_out/test.js"
:output-dir "target/node_out"
:main matcher-combinators.doo-runner
:optimizations :none
:target :nodejs
:process-shim false}}]})