Add release build script

This commit is contained in:
Twarit
2020-02-03 21:23:19 +05:30
parent a1d32d04bb
commit 5b2d8d48c3
10 changed files with 39 additions and 11 deletions

View File

@@ -4,17 +4,17 @@ Implements the proxy end-points for the `EditorVCSInterface` API in the Godot En
## Build Instructions
### Windows
1. Open `build.bat` as text.
1. Open `build_libs_release.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`
6. Run `scons platform=windows target=release`
### Linux
1. Open `build.sh` as text.
1. Open `build_libs_release.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. Prepare script for execution: `chmod 755 build.sh`
4. Run ```. ./build.sh```.
5. Run `cd ..` because the build file leaves you one level deeper in the repository.
6. Run `scons platform=x11`.
6. Run `scons platform=x11 target=release`.