This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(core/deftask assets | |
"copy assets to build-dir" | |
[v verbose bool "Print trace messages"] | |
(core/with-pre-wrap [fs] | |
(let [tgt (core/tmp-dir!) | |
in-files (->> fs | |
core/output-files | |
(core/not-by-ext [".clj"]) | |
(map (juxt core/tmp-path core/tmp-file)))] | |
(doseq [[rel-path in-file] in-files] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(core/deftask webapp | |
"copy webapp to build" | |
[] | |
(println "TASK: webapp") | |
(comp | |
(builtin/sift :include #{#".*.clj$"} | |
:invert true) | |
(builtin/target :dir #{(output-webapp-dir)} | |
:no-clean true))) |