fix: c: log colorized with terminal mode

This commit is contained in:
2025-04-04 14:13:54 +00:00
parent d5ef2bf551
commit 34c798b222
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
# help, --help Show this help message.
check_dependencies() {
for dep in cc ar entr pager; do
for dep in cc ar pager; do
if ! command -v "$dep" >/dev/null 2>&1; then
echo "Error: Required dependency '$dep' not found." >&2
exit 1
@@ -92,7 +92,7 @@ build() {
case "$MODE" in
watch)
entr -r sh ./make.sh build | pager
find . -type d | nix run .#watch -- 'sh ./make.sh build && sh ./make.sh check' -i -p '*.c' -p '*.h' 2>&1
;;
build)
build

View File

@@ -236,4 +236,4 @@ int main(void) {
raise_notice("All tests passed successfully");
arena_free(&arena);
return 0;
}
}