Commit cc86b656 by yarko

remove theme_paths var, per @sefk

parent 59106f23
...@@ -128,12 +128,11 @@ def compile_sass(debug=False): ...@@ -128,12 +128,11 @@ def compile_sass(debug=False):
""" """
Compile Sass to CSS. Compile Sass to CSS.
""" """
theme_paths = THEME_SASS_PATHS
sh(cmd( sh(cmd(
'sass', '' if debug else '--style compressed', 'sass', '' if debug else '--style compressed',
"--cache-location {cache}".format(cache=SASS_CACHE_PATH), "--cache-location {cache}".format(cache=SASS_CACHE_PATH),
"--load-path", " ".join(SASS_LOAD_PATHS + theme_paths), "--load-path", " ".join(SASS_LOAD_PATHS + THEME_SASS_PATHS),
"--update", "-E", "utf-8", " ".join(SASS_UPDATE_DIRS + theme_paths) "--update", "-E", "utf-8", " ".join(SASS_UPDATE_DIRS + THEME_SASS_PATHS)
)) ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment