diff --git a/build.sh b/build.sh index e69de29..4e716a6 100644 --- a/build.sh +++ b/build.sh @@ -0,0 +1,11 @@ +cd "$(dirname "$0")" + +bash Sonic4_ModLoader/generate-version.sh + +echo "Compiling..." +dotnet publish Sonic4_ModLoader -c Release -m + +EXIT_CODE="$?" +if [ "$EXIT_CODE" != "0" ]; then + exit $EXIT_CODE +fi \ No newline at end of file