Projet

Général

Profil

0001-misc-change-portal-agent-css-to-scss-25617.patch

Frédéric Péters, 09 août 2018 14:36

Télécharger (1,86 ko)

Voir les différences:

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%)
.gitignore
10 10
.sass-cache/
11 11
combo/apps/maps/static/css/combo.map.css
12 12
combo/apps/maps/static/css/combo.map.css.map
13
data/themes/gadjo/static/css/agent-portal.css
14
data/themes/gadjo/static/css/agent-portal.css.map
13 15
.cache
14 16
.coverage
15 17
.pytest_cache/
setup.py
2 2
# -*- coding: utf-8 -*-
3 3

  
4 4
import glob
5
import itertools
5 6
import os
6 7
import re
7 8
import subprocess
......
102 103
        if not sass_bin:
103 104
            raise CompileError('A sass compiler is required but none was found.  See sass-lang.com for choices.')
104 105

  
105
        for path, dirnames, filenames in os.walk('combo'):
106
        for path, dirnames, filenames in itertools.chain(os.walk('combo'), os.walk('data')):
106 107
            for filename in filenames:
107 108
                if not filename.endswith('.scss'):
108 109
                    continue
109
-