#!/bin/sh set -euC { printf '%s\n' '#include ' g++ -DGLM_VERSION -E '../include/globject.hpp' \ | grep -v '^#' \ | clang-format \ | awk ' x>0 && /{/ {++x} /GLObject::DataTraits<.*> {/ {++x} x>0 x>0 && /}/ {--x} ' } >| 'globject_data_traits.hpp'