misc: change portal agent css to scss (#25617)

This commit is contained in:
Frédéric Péters 2018-08-09 14:32:57 +02:00
parent 1d758c85ff
commit a42a85e801
3 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -10,6 +10,8 @@ combo.egg-info/
.sass-cache/
combo/apps/maps/static/css/combo.map.css
combo/apps/maps/static/css/combo.map.css.map
data/themes/gadjo/static/css/agent-portal.css
data/themes/gadjo/static/css/agent-portal.css.map
.cache
.coverage
.pytest_cache/

View File

@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
import glob
import itertools
import os
import re
import subprocess
@ -102,7 +103,7 @@ class compile_scss(Command):
if not sass_bin:
raise CompileError('A sass compiler is required but none was found. See sass-lang.com for choices.')
for path, dirnames, filenames in os.walk('combo'):
for path, dirnames, filenames in itertools.chain(os.walk('combo'), os.walk('data')):
for filename in filenames:
if not filename.endswith('.scss'):
continue