changeset 2610:3334da53527e

prevent stylus vs. coding-std conflict on modernized common.css
author RogerHaase <haaserd@gmail.com>
date Thu, 05 Jun 2014 14:30:35 -0700
parents e2273e44dabb
children e5f2854c74c5
files make.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make.py	Mon Jun 02 09:16:02 2014 -0700
+++ b/make.py	Thu Jun 05 14:30:35 2014 -0700
@@ -359,6 +359,11 @@
             print 'Success: Modernized and Foobar CSS files updated.'
         else:
             print 'Error: stylus failed to update css files, see error messages above.'
+        # stylus adds too many blank lines at end of modernized common.css, fix it by running coding_std against css directory
+        command = 'python contrib/pep8/coding_std.py MoinMoin/themes/modernized/static/css'
+        result = subprocess.call(command, shell=True)
+        if result != 0:
+            print 'Error: failure running coding_std.py against modernized css files'
 
         print 'Running lessc to update Basic theme CSS files...'
         data_loc = get_bootstrap_data_location().strip()