/
project.clj
47 lines (38 loc) · 2.02 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
(defproject expectations "2.2.0-rc3"
:description "testing framework"
:jar-name "expectations.jar"
:jar-exclusions [#"\.swp|\.swo|\.DS_Store"]
:java-source-paths ["src/java"]
:source-paths ["src/cljc" "src/clojure" "src/cljs"]
:test-paths ["test/cljc" "test/clojure" "test"]
:dependencies [[joda-time/joda-time "2.9.3"]
[junit/junit "4.12"]]
:plugins [[lein-expectations "0.0.8"]
[lein-publishers "1.0.13"]]
:deploy-repositories [["releases" :clojars]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51" :scope "provided"]]
:node-dependencies [[source-map-support "^0.2.9"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-npm "0.6.2"]]}}
:prep-tasks ["javac"]
:auto-clean false
;; have expectations generate a readme.clj test from examples.md
;; into the test/clojure folder
:jvm-opts ["-Dexpectations.readme=examples.md"
"-Dexpectations.test.path=test/clojure"]
:aliases {"test-success" ["expectations" "expectations.*" "success.*"]
"test-clojure" ["test" "clojure-test.clojure-test"]
"test-readme" ["expectations" "readme"]
"test-fail" ["expectations" "failure.*"]}
:cljsbuild {:builds [{:source-paths ["src/cljs" "src/cljc" "test/cljc"]
:notify-command ["node" "./target/out/test.js"]
:compiler {:target :nodejs
:main expectations.test
:output-to "target/out/test.js"
:output-dir "target/out"
:optimizations :none
:cache-analysis true
:source-map true
:pretty-print true}}]}
:min-lein-version "2.5.0")