diff --git a/src/cryogen_core/classpath_able_io.clj b/src/cryogen_core/classpath_able_io.clj index c9b3131..1b316a9 100644 --- a/src/cryogen_core/classpath_able_io.clj +++ b/src/cryogen_core/classpath_able_io.clj @@ -118,6 +118,12 @@ (when (.isFile source-file) (io/copy source-file target-file))))))) +(defn copy-resources-from-user! + [fs-prefix resources target-path ignore-patterns] + (let [resource-path "templates"] + (copy-resources! fs-prefix resource-path resources + target-path ignore-patterns))) + (defn copy-resources-from-theme! [fs-prefix theme target-path ignore-patterns] (let [theme-path (str "templates/themes/" theme)]