Boot task to write ONLY a created jar file to disk?

Hi,

Does anyone happen to have a boot task to write ONLY a produced (uber)jar file to disk? Rather than the whole target/ dir incl classes etc.

Thanks,
Patrik

If I understand you correctly, you only need to use the sift task:

(deftask build
  []
  (comp
   (aot)
   (pom)
   (uber)
   (jar)
   (sift :include #{#"\.jar$"}) ; <-- Sift needs to be before target
   (target)))

Of course the steps you need in your build might differ from the above, the important parts are the sift followed by target.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.