Skip to content

Commit

Permalink
move kaocha to dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCrotti committed Dec 9, 2020
1 parent 1705f36 commit aaa7d81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
24 changes: 8 additions & 16 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@

:plugins [[lein-environ "1.1.0"]
[migratus-lein "0.5.0"]
[lein-doo "0.1.6"]
[lein-cljsbuild "1.1.4"]
[jonase/eastwood "0.3.3"]
[lein-ring "0.9.7"]
Expand All @@ -102,20 +101,15 @@
:aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]
"fig:build" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev"]
"cljs-prod" ["run" "-m" "figwheel.main" "--build-once" "prod"]
"test-cljs" ["doo" "rhino" "test" "once"]
"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]
"kaocha" ["run" "-m" "kaocha.runner"]
"seed" ["run" "-m" "byf.seed"]}

:cljfmt {:indents {for-all [[:block 1]]
fdef [[:block 1]]
checking [[:inner 0]]}}

:profiles
{:kaocha {:dependencies [[lambdaisland/kaocha "1.0.700"]
[lambdaisland/kaocha-cloverage "1.0.75"]
[lambdaisland/kaocha-junit-xml "0.0.76"]
[lambdaisland/kaocha-cljs "0.0-71"]]}
:uberjar {:hooks []
{:uberjar {:hooks []
:source-paths ["src/clj" "src/cljc"]
:prep-tasks [["compile"]
["cljsbuild" "once" "min"]]
Expand All @@ -135,7 +129,11 @@

:env {:environment :dev}

:dependencies [[binaryage/devtools "0.9.10"]
:dependencies [[lambdaisland/kaocha "1.0.700"]
[lambdaisland/kaocha-cloverage "1.0.75"]
[lambdaisland/kaocha-junit-xml "0.0.76"]
[lambdaisland/kaocha-cljs "0.0-71"]
[binaryage/devtools "0.9.10"]
[cider/piggieback "0.4.1"]
[org.mozilla/rhino "1.7.11"]
[day8.re-frame/re-frame-10x "0.4.3"]
Expand All @@ -144,13 +142,7 @@
[ring/ring-mock "0.4.0"]]}}
:cljsbuild
{:builds
[{:id "test"
:source-paths ["src/cljs" "src/cljc" "test/cljs" "test/cljc"]
:compiler {:output-to "target/unit-test.js"
:main 'byf.runner
:optimizations :whitespace}}

{:id "min"
[{:id "min"
:source-paths ["src/cljs" "src/cljc"]
:compiler {:main byf.core
:output-to "resources/public/cljs-out/dev-main.js"
Expand Down
4 changes: 2 additions & 2 deletions tests.edn
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#kaocha/v1
{:capture-output? false
:color? true
:tests [[:id :clj
:tests [{:id :clj
:type :kaocha.type/clojure.test
:test-paths ["test/cljc" "test/clj"]]
:test-paths ["test/cljc" "test/clj"]}

{:id :cljs
:type :kaocha.type/cljs
Expand Down

0 comments on commit aaa7d81

Please sign in to comment.