Fix coffeelint.
This commit is contained in:
parent
b6ac06c022
commit
6285e26972
1 changed files with 4 additions and 4 deletions
|
@ -16,10 +16,10 @@ def main():
|
||||||
coffeelint = os.path.join(SOURCE_ROOT, 'node_modules', 'coffeelint', 'bin',
|
coffeelint = os.path.join(SOURCE_ROOT, 'node_modules', 'coffeelint', 'bin',
|
||||||
'coffeelint')
|
'coffeelint')
|
||||||
settings = ['--quiet', '-f', os.path.join('script', 'coffeelint.json')]
|
settings = ['--quiet', '-f', os.path.join('script', 'coffeelint.json')]
|
||||||
files = glob.glob('browser/api/lib/*.coffee') + \
|
files = glob.glob('atom/browser/api/lib/*.coffee') + \
|
||||||
glob.glob('renderer/api/lib/*.coffee') + \
|
glob.glob('atom/renderer/api/lib/*.coffee') + \
|
||||||
glob.glob('common/api/lib/*.coffee') + \
|
glob.glob('atom/common/api/lib/*.coffee') + \
|
||||||
glob.glob('browser/atom/*.coffee')
|
glob.glob('atom/browser/atom/*.coffee')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(['node', coffeelint] + settings + files)
|
subprocess.check_call(['node', coffeelint] + settings + files)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue