From 62de341ca5e63831ede72593b18fc899874adcf6 Mon Sep 17 00:00:00 2001 From: Eero Helenius Date: Mon, 29 Jul 2019 16:32:56 +0300 Subject: [PATCH] Exclude test artifacts from JAR #5 The "resources" directory is in the classpath by default. That means it ends up in the JAR file Leiningen creates. Leiningen deletes everything in the "target" directory when it creates the JAR file, so it's safe to put the test artifacts there. --- project.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index 6f4f42b..e70fc46 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject re-frame-utils "0.1.0" +(defproject re-frame-utils "0.1.1" :description "Fxs and CoFxs for re-frame" :url "http://github.com/vimsical/re-frame-utils" :license {:name "MIT"} @@ -16,7 +16,7 @@ :source-paths ["src/" "test/"] ; test is needed for the runner :test-paths ["test/"] :compiler {:main vimsical.re-frame.runner - :output-to "resources/out/test.js" - :output-dir "resources/out" + :output-to "target/cljs-test/test.js" + :output-dir "target/cljs-test" :optimizations :none :target :nodejs}}]})