|
|
@ -8,6 +8,7 @@
|
|
|
|
[selmer.util :refer [set-custom-resource-path!]]
|
|
|
|
[selmer.util :refer [set-custom-resource-path!]]
|
|
|
|
[text-decoration.core :refer :all]
|
|
|
|
[text-decoration.core :refer :all]
|
|
|
|
[cryogen-core.io :as cryogen-io]
|
|
|
|
[cryogen-core.io :as cryogen-io]
|
|
|
|
|
|
|
|
[cryogen-core.classpath-able-io :as cp-io]
|
|
|
|
[cryogen-core.klipse :as klipse]
|
|
|
|
[cryogen-core.klipse :as klipse]
|
|
|
|
[cryogen-core.markup :as m]
|
|
|
|
[cryogen-core.markup :as m]
|
|
|
|
[cryogen-core.rss :as rss]
|
|
|
|
[cryogen-core.rss :as rss]
|
|
|
@ -533,8 +534,10 @@
|
|
|
|
(set-custom-resource-path! (str "file:resources/templates/themes/" theme))
|
|
|
|
(set-custom-resource-path! (str "file:resources/templates/themes/" theme))
|
|
|
|
(cryogen-io/wipe-public-folder keep-files)
|
|
|
|
(cryogen-io/wipe-public-folder keep-files)
|
|
|
|
(println (blue "copying theme resources"))
|
|
|
|
(println (blue "copying theme resources"))
|
|
|
|
;; TODO: adjust for reading from jar
|
|
|
|
(cp-io/copy-resources-from-theme "resources/templates/themes/"
|
|
|
|
(cryogen-io/copy-resources-from-theme config)
|
|
|
|
theme
|
|
|
|
|
|
|
|
(cp-io/path "resources/public" blog-prefix)
|
|
|
|
|
|
|
|
ignored-files)
|
|
|
|
(println (blue "copying resources"))
|
|
|
|
(println (blue "copying resources"))
|
|
|
|
(cryogen-io/copy-resources config)
|
|
|
|
(cryogen-io/copy-resources config)
|
|
|
|
(copy-resources-from-markup-folders config)
|
|
|
|
(copy-resources-from-markup-folders config)
|
|
|
|