enable Chronicles colors on Windows

This commit is contained in:
Ștefan Talpalaru 2019-04-12 14:58:12 +02:00
parent b6f6795a17
commit 60c57995c5
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
3 changed files with 0 additions and 12 deletions

View File

@ -21,10 +21,6 @@ ifdef LOG_LEVEL
NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL) NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL)
endif endif
ifeq ($(OS), Windows_NT)
NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_colors=NoColors
endif
# guess who does parsing before variable expansion # guess who does parsing before variable expansion
COMMA := , COMMA := ,
EMPTY := EMPTY :=

View File

@ -1,10 +1,6 @@
-d:chronicles_line_numbers -d:chronicles_line_numbers
-d:"chronicles_sinks=textlines[file]" -d:"chronicles_sinks=textlines[file]"
-d:"chronicles_runtime_filtering=on" -d:"chronicles_runtime_filtering=on"
# https://github.com/nim-lang/Nim/issues/8294#issuecomment-454556051
@if windows:
-d:"chronicles_colors=NoColors"
@end
-d:nimDebugDlOpen -d:nimDebugDlOpen
--threads:on --threads:on

View File

@ -1,8 +1,4 @@
-d:chronicles_line_numbers -d:chronicles_line_numbers
-d:"chronicles_sinks=textblocks" -d:"chronicles_sinks=textblocks"
# https://github.com/nim-lang/Nim/issues/8294#issuecomment-454556051
@if windows:
-d:"chronicles_colors=NoColors"
@end
--threads:on --threads:on