diff --git a/gen_copy_headers.sh b/gen_copy_headers.sh new file mode 100755 index 0000000..5d48ec6 --- /dev/null +++ b/gen_copy_headers.sh @@ -0,0 +1,11 @@ + +./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 ../..