From 8173f5e103e7dc7c5a2459ef1694ad8195e17dba Mon Sep 17 00:00:00 2001 From: Yogthos Date: Thu, 25 Dec 2014 11:24:25 -0500 Subject: [PATCH] fixed sass paths --- src/cryogen_core/compiler.clj | 6 ++++-- src/cryogen_core/sass.clj | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index 003fea5..044149c 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -78,7 +78,7 @@ (->> (java.io.BufferedReader. rdr) (line-seq) (s/join "\n")) - :reference-links? true + :reference-links? true :heading-anchors true :replacement-transformers (conj transformer-vector (partial rewrite-hrefs config)))) @@ -301,7 +301,9 @@ (println (blue "generating rss")) (spit (str public blog-prefix "/" rss-name) (rss/make-channel config posts)) (println (blue "compiling sass")) - (sass/compile-sass->css! sass-src sass-dest))) + (sass/compile-sass->css! + (str "resources/templates/" sass-src) + (str "resources/public" blog-prefix "/" sass-dest)))) (defn compile-assets-timed [] (time diff --git a/src/cryogen_core/sass.clj b/src/cryogen_core/sass.clj index 78f889b..d41978b 100644 --- a/src/cryogen_core/sass.clj +++ b/src/cryogen_core/sass.clj @@ -26,14 +26,12 @@ (str src-sass "/" sass-file) (str dest-sass "/" ))) - (defn compile-sass->css! "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] - (let [sass-files (find-sass-files src-sass)] (if (seq sass-files) ;; I found sass files,