mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 12:23:22 +08:00
Abort when there is a error in cpplint.
This commit is contained in:
2
script/cpplint.py
vendored
2
script/cpplint.py
vendored
@@ -41,7 +41,7 @@ def list_files(directories, filters):
|
||||
def call_cpplint(files):
|
||||
cpplint = os.path.join(SOURCE_ROOT, 'vendor', 'depot_tools', 'cpplint.py')
|
||||
rules = '--filter=-build/header_guard,-build/include_what_you_use'
|
||||
subprocess.call([sys.executable, cpplint, rules] + files)
|
||||
subprocess.check_call([sys.executable, cpplint, rules] + files)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user