gdnative_python_sample/gen_copy_headers.sh

12 lines
401 B
Bash
Executable File

./pandemonium_engine/bin/pandemonium.x11.opt.tools.64 --gdnative-generate-json-api ./pandemonium_engine/custom_modules/gdnative/api.json
cd gdnative_python/pandemonium_headers/
rm -Rf *
cp -R ../../pandemonium_engine/custom_modules/gdnative/include/* .
cp ../../pandemonium_engine/custom_modules/gdnative/api.json .
cp ../../pandemonium_engine/custom_modules/gdnative/gdnative_api.json .
cd ../..