From 1d66eb17420d37eae8523184f5b5359bf96b0814 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 20 Sep 2024 10:14:05 +0200 Subject: [PATCH] Copy gdnative headers helper script. --- misc/scripts/copy_gdnative_headers.sh | 10 ++++++++++ misc/scripts/pre_release_check_files_present.sh | 3 +++ 2 files changed, 13 insertions(+) create mode 100755 misc/scripts/copy_gdnative_headers.sh diff --git a/misc/scripts/copy_gdnative_headers.sh b/misc/scripts/copy_gdnative_headers.sh new file mode 100755 index 000000000..f117dd06c --- /dev/null +++ b/misc/scripts/copy_gdnative_headers.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Run this script form it's own folder + +cd ../.. + +cp -u ./modules/gdnative/include/gdnative_api_struct.gen.h ./bin/gdnative_api_struct.gen.h + + diff --git a/misc/scripts/pre_release_check_files_present.sh b/misc/scripts/pre_release_check_files_present.sh index 6b42e2ed1..93a2e84ce 100755 --- a/misc/scripts/pre_release_check_files_present.sh +++ b/misc/scripts/pre_release_check_files_present.sh @@ -112,6 +112,9 @@ files=( # IOS - final template "iphone.zip" + + # GDNative generated header, the rest will be generated by the engine or copied + "gdnative_api_struct.gen.h" ) error=0