fixed sass paths

This commit is contained in:
Yogthos 2014-12-25 11:24:25 -05:00
parent 61d6e79be7
commit 8173f5e103
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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,