/bin/gen_api_header.sh: ignore error pipe

This commit is contained in:
veclav talica 2024-10-08 10:40:32 +03:00
parent 9b5c043d85
commit d584890bc7

View File

@ -1,4 +1,4 @@
#!/bin/env sh
# single header api generator with clang
clang -I./ -P -E -nostdinc -nobuiltininc -DTWN_NOT_C $TWNROOT/include/twn_game_api.h | clang-format
clang -I./ -P -E -nostdinc -nobuiltininc -DTWN_NOT_C $TWNROOT/include/twn_game_api.h 2> /dev/null | clang-format