use new io
This commit is contained in:
parent
edc93f6857
commit
c4c295f2e3
1 changed files with 35 additions and 33 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue