From b40934641607eb21c95b8a9beb978d01683bd55d Mon Sep 17 00:00:00 2001 From: jem Date: Tue, 26 May 2020 18:07:10 +0200 Subject: [PATCH] add a test build --- shadow-cljs.edn | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 3c217e4..6fffe5d 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -2,10 +2,13 @@ "src/test"] :dependencies [[orchestra "2018.12.06-2"]] :builds {:dev {:target :node-library - :output-to "target/lib-mastodon-bot.js" + :output-to "target/node-lib.js" :exports {:infra mastodon-bot.core/-main} - :repl-pprint true - } + :repl-pprint true} + :test {:target :node-test + :output-to "target/node-tests.js" + :ns-regexp "test$" + :autorun true} :app {:target :node-script :output-to "target/mastodon-bot.js" :main mastodon-bot.core/main