mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
Add Linux build script
This commit is contained in:
19
README.md
19
README.md
@@ -1,10 +1,19 @@
|
||||
# GDNative Based Git Plugin for Godot Version Control Editor Plugin
|
||||
|
||||
## Build Instructions
|
||||
1. Open `build.bat` if you are on Windows or `build.sh` if you are on Linux
|
||||
2. Edit the relative paths to the Godot binary and from the Godot binary directory to this repositories directory in line 1 and line 2.
|
||||
3. Run the build script
|
||||
4. cd to repo's root directory
|
||||
5. Load the x64 command prompt: `x64 Native Tools Command Prompt for VS 2017`
|
||||
|
||||
### Windows
|
||||
1. Open `build.bat` as text.
|
||||
2. Edit the relative paths to the Godot binary and from the Godot binary directory to this repository's directory in line 1 and line 2.
|
||||
3. Run `build.bat`.
|
||||
4. Run `cd ..` because the build file leaves you one level deeper in the repository.
|
||||
5. Load the x64 command prompt: `x64 Native Tools Command Prompt for VS 2017`.
|
||||
6. Run `scons platform=windows`
|
||||
|
||||
### Linux
|
||||
1. Open `build.sh` as text.
|
||||
2. Edit the relative paths to the Godot binary and from the Godot binary directory to this repository's directory in line 1 and line 2.
|
||||
3. Run `build.sh`.
|
||||
4. Run `cd ..` because the build file leaves you one level deeper in the repository.
|
||||
5. Run `scons platform=x11`
|
||||
|
||||
Reference in New Issue
Block a user