diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index 53177f8..0bafd75 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -321,9 +321,9 @@ (rss/make-filtered-channels public config posts-by-tag) (println (blue "compiling sass")) (sass/compile-sass->css! - (str "resources/templates/" sass-src) - (str "resources/public" blog-prefix "/" sass-dest) - ignored-files))) + {:src-sass (str "resources/templates/" sass-src) + :dest-sass (str "resources/public" blog-prefix "/" sass-dest) + :ignored-files ignored-files}))) (defn compile-assets-timed [] (time diff --git a/src/cryogen_core/sass.clj b/src/cryogen_core/sass.clj index ca31e1e..a89411a 100644 --- a/src/cryogen_core/sass.clj +++ b/src/cryogen_core/sass.clj @@ -47,9 +47,9 @@ "Given a directory src-sass, looks for all sass files and compiles them into dest-sass. Prompts you to install sass if he finds sass files and can't find the command. Shows you any problems it comes across when compiling. " - [src-sass - dest-sass - ignored-files] + [{:keys [src-sass + dest-sass + ignored-files]}] (let [sass-files (find-sass-files src-sass ignored-files)] (if (seq sass-files) ;; I found sass files,