Skip to content

Commit

Permalink
Exclude test artifacts from JAR den1k#5
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eerohele authored and Eero Helenius committed Jan 20, 2020
1 parent 8d13297 commit 9e1a07f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
@@ -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"}
Expand All @@ -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}}]})

0 comments on commit 9e1a07f

Please sign in to comment.