mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
27 lines
393 B
Python
27 lines
393 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
from waflib.TaskGen import extension
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
|
|
@extension('.py', 'wscript')
|
|
def check_syntax(self, node):
|
|
self.create_task('Pep8', node)
|
|
|
|
|
|
def options(opt):
|
|
opt.load('pep8')
|
|
|
|
|
|
def configure(conf):
|
|
# warning after this comment
|
|
|
|
conf.load('pep8')
|
|
|
|
|
|
def build(bld):
|
|
bld(source='wscript')
|