Added a new helper script.

This commit is contained in:
Relintai 2023-06-02 19:12:35 +02:00
parent 49897d403b
commit d2dbba01d2

11
gen_copy_headers.sh Executable file
View File

@ -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 ../..