mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -05:00
Add color to rustc output (except windows)
This commit is contained in:
parent
24b0e91d80
commit
ad4f335847
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ template("run_rustc") {
|
||||||
"--crate-name=$crate_name",
|
"--crate-name=$crate_name",
|
||||||
"--crate-type=$crate_type",
|
"--crate-type=$crate_type",
|
||||||
]
|
]
|
||||||
|
if (!is_win) {
|
||||||
|
args += [ "--color=always" ]
|
||||||
|
}
|
||||||
|
|
||||||
if (defined(is_test) && is_test) {
|
if (defined(is_test) && is_test) {
|
||||||
# Test outputs are executables which should be in root_out_dir.
|
# Test outputs are executables which should be in root_out_dir.
|
||||||
|
|
Loading…
Add table
Reference in a new issue