Fork me on GitHub
#boot
<
2019-11-20
>
nitaai13:11:33

hello, can someone please tell me why in my uberjar task:

(deftask uberjar
  "Build an uberjar of the application."
  []
  (comp (with-pass-thru _
          (set-env! :resource-paths #{"resources/all" "resources/prod"}))
        (aot)
        (uber)
        (sift :add-resource #{"resources/all" "resources/prod"})
        (jar)
        (target)))
(set-env! :resource-paths #{"resources/all" "resources/prod"}) does not work and I need (sift :add-resource #{"resources/all" "resources/prod"}) ? Without sift the files from “resources/prod” are missing in the uberjar file. Does it maybe have something to do with https://github.com/boot-clj/boot/issues/638 ?