tools: make color output work on windows

This commit is contained in:
Bert Belder 2018-09-02 23:37:14 +02:00
parent be8f49b332
commit 2e3a8b495d
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
6 changed files with 115 additions and 4 deletions

View file

@ -2,7 +2,9 @@
# Does google-lint on c++ files and ts-lint on typescript files
import os
from util import run
from util import enable_ansi_colors, run
enable_ansi_colors()
root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
third_party_path = os.path.join(root_path, "third_party")