##// END OF EJS Templates
Merge pull request #7070 from rgbkrk/pin_less_docker...
Matthias Bussonnier -
r19118:9b0db4ee merge
parent child Browse files
Show More
@@ -41,7 +41,7 b' RUN apt-get update && apt-get install -y -q \\'
41 41 npm
42 42
43 43 # In order to build from source, need less
44 RUN npm install -g less
44 RUN npm install -g less@1.7.5
45 45
46 46 RUN pip install invoke
47 47
@@ -67,9 +67,9 b' def _compile_less(source, target, sourcemap, minify=True, verbose=False):'
67 67 out = out.decode('utf8', 'replace')
68 68 less_version = out.split()[1]
69 69 if V(less_version) < V(min_less_version):
70 raise ValueError("lessc too old: %s < %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, min_less_version))
70 raise ValueError("lessc too old: %s < %s. Use `$ npm install less@X.Y.Z` to install a specific version of less" % (less_version, min_less_version))
71 71 if V(less_version) >= V(max_less_version):
72 raise ValueError("lessc too new: %s >= %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
72 raise ValueError("lessc too new: %s >= %s. Use `$ npm install less@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
73 73
74 74 static_path = pjoin(here, static_dir)
75 75 cwd = os.getcwd()
General Comments 0
You need to be logged in to leave comments. Login now