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

@ -1,6 +1,6 @@
#!/usr/bin/env python
import third_party
from util import run, root_path, build_path, build_mode
from util import build_mode, build_path, enable_ansi_colors, root_path, run
import os
import re
import sys
@ -8,6 +8,8 @@ from distutils.spawn import find_executable
def main():
enable_ansi_colors()
os.chdir(root_path)
third_party.fix_symlinks()