From 9c9254a55029e4a8a7a196e1e3ab16d723afb29b Mon Sep 17 00:00:00 2001 From: xavo95 Date: Tue, 1 Oct 2024 19:55:18 +0200 Subject: [PATCH] Launcher changes incoming --- build.bat | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/build.bat b/build.bat index 2a0bee2..0083db7 100644 --- a/build.bat +++ b/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 -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 -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 -cargo build --release --no-default-features -F os_live_1_3_0 \ No newline at end of file +call:cargoReleaseBuild os_live_1_3_0 + +tar -acvf shorekeeper-patch-win64.zip -C build \ No newline at end of file