diff --git a/release.bat b/release.bat new file mode 100644 index 0000000..22ceac7 --- /dev/null +++ b/release.bat @@ -0,0 +1,18 @@ +@echo off + +:: Delete the target folder if it exists +if exist target ( + rmdir /s /q target + echo Deleted the target folder. +) else ( + echo No target folder found, skipping deletion. +) + +:: Run cargo build with the custom environment variables +cargo build + +:: Run Tests +lua5.1 ltests/test.lua + +:: Run Release +cargo release --execute --no-publish \ No newline at end of file