viff

changeset 610:2718ac712385

Make pyflakes build job work on Win32.
author Thomas Pelle Jakobsen <mas@daimi.au.dk>
date Wed, 26 Mar 2008 11:52:02 +0100
parents 2e6a8de5f13c
children 57f877cd60f8
files run.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/run.py	Tue Mar 25 22:01:43 2008 +0100
     1.2 +++ b/run.py	Wed Mar 26 11:52:02 2008 +0100
     1.3 @@ -212,10 +212,14 @@
     1.4              dirs.remove('.hg')
     1.5      print total // 1024
     1.6  
     1.7 +
     1.8  @command('pyflakes')
     1.9  def pyflakes():
    1.10      """Find static errors using Pyflakes."""
    1.11 -    execute(['pyflakes', '.'])
    1.12 +    if sys.platform == "win32":
    1.13 +        execute(['pyflakes.bat', '.'])
    1.14 +    else:
    1.15 +        execute(['pyflakes', '.'])
    1.16  
    1.17  
    1.18  @command('trial', 'python')