From 31f47e7d252a824c2ed0f3d3eb517ce93adb4be7 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 bf645b4..bc37ea3 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 5bd5adb..9e3ff42 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 -- 2.18.0