fix build output color on macOS (#20)

On macOS, `echo` does not support the `\e` extension from GNU coreutils.
Replacing with the portable `\x1B` to fix Terminal build output colors.
This commit is contained in:
Etan Kissling 2021-09-09 14:12:58 +02:00 committed by GitHub
parent 6dc18d51b6
commit 284b3aac05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
SHELL := bash # the shell used internally by Make
NIM_PARAMS := -f --outdir:build --skipParentCfg:on --skipUserCfg:on $(NIMFLAGS)
BUILD_MSG := "\\e[92mBuilding:\\e[39m"
BUILD_MSG := "\\x1B[92mBuilding:\\x1B[39m"
CMAKE := cmake
CMAKE_MISSING_MSG := "CMake not installed. Aborting."