scripts: Auto-detect whether we can enable colors
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 5 Feb 2019 11:53:49 +0000 (17:23 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Tue, 5 Feb 2019 11:53:49 +0000 (17:23 +0530)
commit124098adc43bb04cf7adb74f0c736752d7e43c62
tree5d2bc52bbca521768929d33b8fe0e6e91b7857a4
parent50037dd1eb373b9773bca22ef05139d389d83665
scripts: Auto-detect whether we can enable colors

Also do the setup necessary on Windows to enable ANSI colours on the
console (if available). That code is copied from Meson and is Apache2
licensed.
checkout-branch-worktree
common.py
git-update