Add Linux build script

This commit is contained in:
IronicallySerious
2019-07-03 23:39:08 +05:30
parent 80d63df6ca
commit a64153f05e
3 changed files with 24 additions and 6 deletions

View File

@@ -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`