enable Chronicles colors on Windows
This commit is contained in:
parent
b6f6795a17
commit
60c57995c5
|
@ -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 :=
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue