use new io

This commit is contained in:
jem 2019-12-16 15:00:35 +01:00
parent edc93f6857
commit c4c295f2e3

View file

@ -532,8 +532,10 @@
(println "\t-->" (cyan (-> params :home-page))))
;; TODO: replace by file-resource-path or classpath-resource-path
(set-custom-resource-path! (str "file:resources/templates/themes/" theme))
(cryogen-io/wipe-public-folder keep-files)
;(cryogen-io/wipe-public-folder keep-files)
(cp-io/delete-resource-recursive! "resources/public")
(println (blue "copying theme resources"))
;(cryogen-io/copy-resources-from-theme config)
(cp-io/copy-resources-from-theme! "resources/templates/themes/"
theme
(cp-io/path "resources/public" blog-prefix)