mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-02 05:48:34 +03:00
11 lines
476 B
Bash
11 lines
476 B
Bash
GODOT_PATH_RELATIVE_TO_PLUGIN="../godot/bin";
|
|
GIT_PLUGIN_RELATIVE_TO_GODOT="../../godot-git-plugin/";
|
|
git submodule init;
|
|
git submodule update --init --recursive;
|
|
cd $GODOT_PATH_RELATIVE_TO_PLUGIN;
|
|
./godot.x11.tools.64 --gdnative-generate-json-api api.json;
|
|
cp api.json $GIT_PLUGIN_RELATIVE_TO_GODOT/api.json;
|
|
cd $GIT_PLUGIN_RELATIVE_TO_GODOT;
|
|
cd godot-cpp/;
|
|
scons platform=linux target=debug generate_bindings=yes use_custom_api_file=yes custom_api_file=../api.json bits=64;
|