summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/lint
blob: d2e5e18cfe0605f6035380624d0044de7b94f740 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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)

sys.exit(0 if lint.main() == 0 else 1)