townengine/bin/gen_api_header.sh

5 lines
169 B
Bash
Executable File

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