townengine/bin/gen_api_header.sh
2025-01-03 11:55:39 +03:00

7 lines
177 B
Bash
Executable File

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