2024-10-01 17:55:18 +00:00
|
|
|
GOTO:MAIN
|
|
|
|
|
|
|
|
:cargoReleaseBuild
|
|
|
|
SETLOCAL ENABLEDELAYEDEXPANSION
|
|
|
|
cargo clean
|
|
|
|
cargo build --release --no-default-features -F %~1
|
|
|
|
set features=%~1:,=-%
|
2024-11-01 19:40:52 +00:00
|
|
|
COPY target\release\wicked_waifus_win.dll build\wicked-waifus-win-%~1.dll
|
2024-10-01 18:04:06 +00:00
|
|
|
cargo clean
|
2024-10-01 17:55:18 +00:00
|
|
|
ENDLOCAL
|
|
|
|
EXIT /B 0
|
|
|
|
|
|
|
|
:MAIN
|
|
|
|
if exist "build" rd /q /s "build"
|
|
|
|
mkdir build
|
2024-10-01 18:04:06 +00:00
|
|
|
cargo clean
|
2024-10-01 17:55:18 +00:00
|
|
|
|
2024-10-11 13:25:10 +00:00
|
|
|
: Build for cn_beta_1_4_0
|
|
|
|
call:cargoReleaseBuild cn_beta_1_4_0
|
2024-09-27 19:22:11 +00:00
|
|
|
: Build for cn_beta_1_3_0
|
2024-10-01 17:55:18 +00:00
|
|
|
call:cargoReleaseBuild cn_beta_1_3_0
|
2024-09-30 19:54:29 +00:00
|
|
|
: Build for cn_live_1_3_0
|
2024-10-01 17:55:18 +00:00
|
|
|
call:cargoReleaseBuild cn_live_1_3_0
|
2024-09-27 19:22:11 +00:00
|
|
|
: Build for os_live_1_3_0
|
2024-10-01 17:55:18 +00:00
|
|
|
call:cargoReleaseBuild os_live_1_3_0
|
|
|
|
|
2024-11-01 19:40:52 +00:00
|
|
|
tar -acvf wicked-waifus-win-patch-win64.zip -C build .
|