Skip to content

Commit 61c1cc5

Browse files
committed
Auto Update
1 parent 901d680 commit 61c1cc5

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

run_demo.bat

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
@echo off
22
chcp 65001 >nul
3+
cd /d "%~dp0"
4+
setlocal
35

6+
echo ⚡ Building Project...
7+
call mvn clean package -DskipTests -q
8+
if %ERRORLEVEL% NEQ 0 ( echo ❌ Benchmark failed. & pause & exit /b %ERRORLEVEL% )
49

5-
echo 🚀 Running Demo...
10+
echo 🚀 Running Demo...
611
cd examples\Demo
712
set MAVEN_OPTS=--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow
8-
call mvn -q compile exec:java -Dexec.mainClass=fastghostmouse.demo.Demo
9-
cd ..\..
10-
pause
13+
call mvn -q compile exec:java -Dexec.mainClass=fastghostmouse.demo.Demo -q
14+
if %ERRORLEVEL% NEQ 0 ( echo ❌ Benchmark failed. & pause & exit /b %ERRORLEVEL% )
15+
16+
cd ..
17+
endlocal

0 commit comments

Comments
 (0)