##// END OF EJS Templates
use less from components
MinRK -
Show More
@@ -15,6 +15,7 b' def css(minify=True):'
15 minify = (minify in ['True',True])
15 minify = (minify in ['True',True])
16
16
17 min_flag= '-x' if minify is True else ''
17 min_flag= '-x' if minify is True else ''
18 lessc = os.path.join('components', 'less.js', 'bin', 'lessc')
18 with lcd(static_dir):
19 with lcd(static_dir):
19 local('lessc {min_flag} less/style.less css/style.min.css'.format(min_flag=min_flag))
20 local('{lessc} {min_flag} less/style.less css/style.min.css'.format(**locals()))
20
21
General Comments 0
You need to be logged in to leave comments. Login now