mirror of
https://github.com/servo/servo.git
synced 2025-06-23 00:24:35 +01:00
12 lines
298 B
Python
Executable file
12 lines
298 B
Python
Executable file
#!/usr/bin/env python
|
|
import sys
|
|
|
|
try:
|
|
from tools.lint import lint
|
|
except ImportError:
|
|
print("tools.lint not found. Did you forget to run "
|
|
'"git submodule update --init --recursive"?')
|
|
sys.exit(2)
|
|
|
|
args = lint.parse_args()
|
|
sys.exit(0 if lint.main(**vars(args)) == 0 else 1)
|