From a42a85e801d8f3f716a350ac63b6060ce169b268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 9 Aug 2018 14:32:57 +0200 Subject: [PATCH] misc: change portal agent css to scss (#25617) --- .gitignore | 2 ++ .../gadjo/static/css/{agent-portal.css => agent-portal.scss} | 0 setup.py | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) rename data/themes/gadjo/static/css/{agent-portal.css => agent-portal.scss} (100%) diff --git a/.gitignore b/.gitignore index bf645b4d..bc37ea30 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/data/themes/gadjo/static/css/agent-portal.css b/data/themes/gadjo/static/css/agent-portal.scss similarity index 100% rename from data/themes/gadjo/static/css/agent-portal.css rename to data/themes/gadjo/static/css/agent-portal.scss diff --git a/setup.py b/setup.py index 5bd5adb2..9e3ff42e 100644 --- a/setup.py +++ b/setup.py @@ -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