Launcher changes incoming
This commit is contained in:
parent
af2fbb0527
commit
9c9254a550
1 changed files with 20 additions and 3 deletions
23
build.bat
23
build.bat
|
@ -1,6 +1,23 @@
|
||||||
|
GOTO:MAIN
|
||||||
|
|
||||||
|
:cargoReleaseBuild
|
||||||
|
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||||
|
cargo clean
|
||||||
|
cargo build --release --no-default-features -F %~1
|
||||||
|
set features=%~1:,=-%
|
||||||
|
COPY target\release\shorekeeper.dll build\shorekeeper-%~1.dll
|
||||||
|
ENDLOCAL
|
||||||
|
EXIT /B 0
|
||||||
|
|
||||||
|
:MAIN
|
||||||
|
if exist "build" rd /q /s "build"
|
||||||
|
mkdir build
|
||||||
|
|
||||||
: Build for cn_beta_1_3_0
|
: Build for cn_beta_1_3_0
|
||||||
cargo build --release --no-default-features -F cn_beta_1_3_0
|
call:cargoReleaseBuild cn_beta_1_3_0
|
||||||
: Build for cn_live_1_3_0
|
: Build for cn_live_1_3_0
|
||||||
cargo build --release --no-default-features -F cn_live_1_3_0
|
call:cargoReleaseBuild cn_live_1_3_0
|
||||||
: Build for os_live_1_3_0
|
: Build for os_live_1_3_0
|
||||||
cargo build --release --no-default-features -F os_live_1_3_0
|
call:cargoReleaseBuild os_live_1_3_0
|
||||||
|
|
||||||
|
tar -acvf shorekeeper-patch-win64.zip -C build
|
Loading…
Reference in a new issue