Skip to content

Publish

These steps are only for the GDExtension owner:

# Build for many platforms.
scons platform=linux    target=template_debug   arch=x86_64 custom_api_file=godot-cpp/extension_api.json
scons platform=linux    target=template_release arch=x86_64 custom_api_file=godot-cpp/extension_api.json
scons platform=windows  target=template_debug   arch=x86_64 custom_api_file=godot-cpp/extension_api.json
scons platform=windows  target=template_release arch=x86_64 custom_api_file=godot-cpp/extension_api.json

# Remove any old ZIP file.
rm discord_social_sdk.zip

# Generate new ZIP file.
zip -r discord_social_sdk.zip demo/addons/discord_social_sdk/**