Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (38 sloc) 2.02 KB
(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")