forked from nubank/matcher-combinators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
69 lines (63 loc) · 3.54 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
(defproject nubank/matcher-combinators "3.1.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 [["publish" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_passwd
:sign-releases false}]]
: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.187"]
[org.clojure/math.combinatorics "0.1.6"]
[midje "1.9.9" :exclusions [org.clojure/clojure]]]
:source-paths ["src/clj" "src/cljc"]
:test-paths ["test/clj" "test/cljc"]
:profiles {:dev {:plugins [[lein-project-version "0.1.0"]
[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 "1.0.0"]
[org.clojure/clojurescript "1.10.773"]
[org.clojure/core.rrb-vector "0.1.1"]
[orchestra "2019.02.06-1"]]
:source-paths ["dev"]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}}
:aliases {"lint" ["do" "cljfmt" "check,"]
"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/cljs" "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/cljs" "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/cljs" "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}}]})