in compile-sass-file!, sh doesn't like nil arg when no compass
This commit is contained in:
parent
fc1d1d725c
commit
a66f8df5e4
1 changed files with 3 additions and 4 deletions
|
@ -40,10 +40,9 @@
|
||||||
dest-sass
|
dest-sass
|
||||||
base-dir]}]
|
base-dir]}]
|
||||||
(shell/with-sh-dir base-dir
|
(shell/with-sh-dir base-dir
|
||||||
(sh "sass"
|
(if (compass-installed?)
|
||||||
"--update"
|
(sh "sass" "--compass" "--update" (str src-sass ":" dest-sass))
|
||||||
(when (compass-installed?) "--compass")
|
(sh "sass" "--update" (str src-sass ":" dest-sass)))))
|
||||||
(str src-sass ":" dest-sass))))
|
|
||||||
|
|
||||||
(defn compile-sass->css!
|
(defn compile-sass->css!
|
||||||
"Given a directory src-sass, looks for all sass files and compiles them into
|
"Given a directory src-sass, looks for all sass files and compiles them into
|
||||||
|
|
Loading…
Reference in a new issue