1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

Add color to build logswq (#2802)

This commit is contained in:
Leonid Fedorov 2023-04-03 20:54:43 +03:00 committed by GitHub
parent 4eced2c23a
commit ac8881091b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,9 @@ local platformMap(platform, arch) =
'ubuntu:22.04': bootstrap_deps + ' && ' + deb_build_deps + " && sleep $${BUILD_DELAY_SECONDS:-1s} && CMAKEFLAGS='" + cmakeflags + " -DDEB=jammy' debian/autobake-deb.sh",
};
local result = std.strReplace(std.strReplace(platform, ':', ''), '/', '-');
platform_map[platform] + ' | tee ' + result + '/build.log';
"export CLICOLOR_FORCE=1; " + platform_map[platform] + " | storage/columnstore/columnstore/build/ansi2txt.sh " + result + "/build.log";
local testRun(platform) =

2
build/ansi2txt.sh Executable file
View File

@ -0,0 +1,2 @@
bash -c "tee >(sed $'s/\033[[][^A-Za-z]*m//g' > $1)"