-
Notifications
You must be signed in to change notification settings - Fork 11
/
project.clj
72 lines (57 loc) · 2.96 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
(defproject same/ish "0.1.7-SNAPSHOT"
:description "A Clojure library for approximate comparison of floating point numbers in tests."
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:url "https://github.com/Microsoft/same-ish"
:scm {:name "git"
:url "https://github.com/Microsoft/same-ish"}
:deploy-branches ["main"]
:dependencies []
:profiles
{:dev
{:dependencies [[org.clojure/clojure "1.11.1"]
[org.clojure/clojurescript "1.11.60"]
[com.bhauman/figwheel-main "0.2.18"]
[org.slf4j/slf4j-nop "2.0.6"]
[com.bhauman/rebel-readline-cljs "0.1.4"]
[org.clojure/core.rrb-vector "0.1.2"]]
:resource-paths ["target"]
;; need to add the compiled assets to the :clean-targets
:clean-targets ^{:protect false} ["target"]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}
:1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]}
:clj-kondo {:dependencies [[clj-kondo "2023.01.20"]
[com.fasterxml.jackson.core/jackson-core "2.14.1"]]}}
:plugins [;; Nice test output
#_[venantius/ultra "0.6.0" :exclusions [org.clojure/core.rrb-vector]]
#_[org.clojure/core.rrb-vector "0.1.2"]
;; Code coverage
[lein-cloverage "1.2.4"]
;; Code/style checks
[lein-cljfmt "0.8.2"]]
;;:middleware [ultra.plugin/middleware]
:aliases {"checks" ["do" "check" ["cljfmt" "check"] "clj-kondo"]
"clj-kondo" ["with-profile" "+clj-kondo" "run" "-m" "clj-kondo.main" "--lint" "src" "test"]
"tests" ["with-profile" "+1.11:+1.10:+1.9:+1.8:+1.7" "test"]
"fig:build" ["trampoline" "run" "-m" "figwheel.main" "--build" "dev" "--repl"]
"fig:test" ["run" "-m" "figwheel.main" "-co" "test.cljs.edn" "-m" "same.test-runner"]
"fig:min" ["run" "-m" "figwheel.main" "-O" "advanced" "-bo" "dev"]
"fig:build-once" ["trampoline" "run" "-m" "figwheel.main" "--build-once" "dev"]
"fig:ci-test" ["run" "-m" "figwheel.main" "-co" "test-ci.cljs.edn" "-m" "same.test-runner"]}
:release-tasks [["vcs" "assert-committed"]
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
["vcs" "tag"]
["deploy"]
["change" "version" "leiningen.release/bump-version"]
["vcs" "commit"]
["vcs" "push"]]
:deploy-repositories [["releases" {:url "https://repo.clojars.org"
:creds :gpg}]]
:test-selectors {:default (complement :slow)
:slow :slow}
:cloverage {:selector [:default]
:lcov? true})