Add release gdnlib with correct build paths.

This commit is contained in:
Nolan Darilek 2019-09-13 10:52:19 -05:00
parent 461fa27ae0
commit 70fc7e9d43
2 changed files with 17 additions and 1 deletions

View File

@ -21,7 +21,8 @@ test_script:
- cmd: copy target\release\*.dll staging\godot-tts\target\release - cmd: copy target\release\*.dll staging\godot-tts\target\release
# - cmd: cd staging # - cmd: cd staging
# - cmd: 7z a ../windows.zip * # - cmd: 7z a ../windows.zip *
- sh: cp godot-tts.gdn* staging/godot-tts - sh: cp godot-tts.gdns staging/godot-tts
- sh: cp godot-tts.gdnlib.release staging/godot-tts/godot-tts.gdnlib
- sh: cp target/release/libgodot_tts.so target/godot-tts/target/release - sh: cp target/release/libgodot_tts.so target/godot-tts/target/release
- sh: cd target - sh: cd target
- sh: zip -r9 godot-tts.zip godot-tts/ - sh: zip -r9 godot-tts.zip godot-tts/

15
godot-tts.gdnlib.release Normal file
View File

@ -0,0 +1,15 @@
[entry]
Windows.64="res://addons/godot-tts/target/release/godot_tts.dll"
X11.64="res://addons/godot-tts/target/release/libgodot_tts.so"
[dependencies]
X11.64=[ ]
[general]
singleton=false
load_once=true
symbol_prefix="godot_"
reloadable=true