Move and recompile pre-built binary

Move pre-built binary to 'dist' folder so it no longer causes git
conflicts with custom builds. Also make it a release build which
decreases its size by ~70M.
This commit is contained in:
Leroy Hopson 2020-10-16 12:53:19 +07:00
parent e68d2f55c9
commit 3da0ed4185
5 changed files with 11 additions and 0 deletions

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Updated build script (`addons/godot_xterm/native/build.sh`). Git submodules will now be initialized if they haven't already. Moved nix-shell related stuff to a seperate shell.nix file so the same build command can be used on all Linux based OSes. - Updated build script (`addons/godot_xterm/native/build.sh`). Git submodules will now be initialized if they haven't already. Moved nix-shell related stuff to a seperate shell.nix file so the same build command can be used on all Linux based OSes.
- Positioned background rect at 0,0 so it is no longer offset if a margin is added when Terminal is a child of a Container node. - Positioned background rect at 0,0 so it is no longer offset if a margin is added when Terminal is a child of a Container node.
- Moved pre-compiled binary to `addons/godot_xterm/native/dist` directory, and reduced size by ~70M by making it a release build rather than debug.
## [1.0.0] - 2020-10-05 ## [1.0.0] - 2020-10-05
### Added ### Added

View file

@ -15,6 +15,15 @@ Terminal emulator for Godot using GDNative and [libtsm](https://github.com/Aetf/
## Building ## Building
**Important**: It is recommended that you build the native binaries before opening this demo project, otherwise the Godot editor will automatically modify the example scenes when it can't find the native libs, such that they won't work when the files _are_ in place.
If you prefer not to build your own binaries from source, there are some pre-compiled release binaries in the [dist] directory.
They can be copied to the correct location by:
```
cd addons/godot_xterm/native
cp -rf dist/* bin/
```
### All Operating Systems ### All Operating Systems
You will need at least these dependencies in order to build this plugin: You will need at least these dependencies in order to build this plugin:
@ -93,4 +102,5 @@ See the various license files in the [subdirectories](addons/godot_xterm/themes/
[build.sh]: /addons/godot_xterm/native/build.sh [build.sh]: /addons/godot_xterm/native/build.sh
[dist]: /addons/godot_xterm/native/dist
[SConstruct]: /addons/godot_xterm/native/SConstruct [SConstruct]: /addons/godot_xterm/native/SConstruct

View file

Binary file not shown.