Skip to content

Commit

Permalink
fix: add bat file for release
Browse files Browse the repository at this point in the history
  • Loading branch information
🎲 committed Jan 19, 2025
1 parent a3a341c commit ed03bf2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed03bf2

Please sign in to comment.