Skip to content

Commit 8243a12

Browse files
committed
Auto Update
1 parent 745d4f0 commit 8243a12

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
target/
33
build/
44
*.dll
5+
!src/main/resources/native/*.dll
56
*.obj
67
*.exp
78
*.lib

run-demo.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ cd /d "%~dp0"
44
echo [FastFileIndex] Running Demo (via JitPack)...
55
echo 🚀 Running Demo...
66
cd examples\Demo
7-
call mvn -U compile exec:java -Dexec.mainClass=fastfileindex.Demo -q
7+
set "FASTFILEINDEX_MAVEN_REPO=%TEMP%\FastFileIndex-jitpack-m2"
8+
call mvn -U -Dmaven.repo.local="%FASTFILEINDEX_MAVEN_REPO%" compile exec:java -Dexec.mainClass=fastfileindex.Demo -q
89
if %ERRORLEVEL% NEQ 0 ( echo ❌ Demo failed. & pause & exit /b %ERRORLEVEL% )
910

11+
echo Using local Maven repository: %FASTFILEINDEX_MAVEN_REPO%
1012
cd ..\..
1113
pause

0 commit comments

Comments
 (0)