A Git plugin for the Godot Editor based on GDNative for Godot's VCS integration
Git implementation of the Godot Engine VCS interface in Godot. We use libgit2 as our backend to simulate Git in code.
Planned for the upcoming version of Godot. Look for other branches for support in other Godot releases.
Required build tools:
MSVC is our recommended compiler for Windows
x64 Native Tools Command Prompt for VS 20XX.
scons platform=windows target=release
G++ is our recommended compiler for Linux
chmod 755 build_libs.sh
. ./build_libs.sh Release.
scons platform=x11 target=release.
G++ and Clang++ are our recommended compilers for MacOS
chmod 755 build_libs_mac.sh
. ./build_libs_mac.sh Release.
scons platform=osx target=release.
debugin the above instructions for a debug build. You will also have to do the same in the paths mentioned in
demo/git_api.gdnlibbefore opening the demo project in Godot.
This section onwards is only meant to be used by developers.
Most of the times when new featured are being worked on for the Godot VCS Integration, this requires us to make changes in Godot along with this plugin. Thus, this means we need to manually generate the GDNative API from these newer Godot builds and then use them with godot-cpp.
api.jsonfrom Godot executable:
godot --gdnative-generate-json-api api.json
scons platform= target= generate_bindings=yes bits=64 use_custom_api_file=yes custom_api_file= -j
scons platform= target=