Skip to content

Commit fb95fca

Browse files
committed
v1.1.5 update
fixed bug where *-sources.jar files are unnecessarily included in compiled .addon files
1 parent 9942488 commit fb95fca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Utility.bat

+5-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if "%1" EQU "--goto" (
4646
setlocal EnableDelayedExpansion
4747

4848
:: Version control
49-
set "version=1.1.4"
49+
set "version=1.1.5"
5050
if "%1" EQU "--version" (
5151
echo %version%
5252
exit /b
@@ -438,7 +438,10 @@ exit /b
438438
robocopy /E "%src%" "%classes%" /XF "*.java" >nul 2>nul
439439
copy /Y "%workspace%\LICENSE" "%root%\LICENSE" >nul 2>nul
440440
(
441-
for /F "usebackq tokens=* delims=" %%i in (`PowerShell -Command "Get-ChildItem -Recurse -Exclude '*-sources.jar' -Name -Path '%root%'"`) do (
441+
for /F "usebackq tokens=* delims=" %%i in (`PowerShell -Command "Get-ChildItem -Recurse -File -Exclude '*-sources.jar' -Name -Path '%root%'"`) do (
442+
echo -C "%root:\=\\%" %%i
443+
)
444+
for /F "usebackq tokens=* delims=" %%i in (`PowerShell -Command "Get-ChildItem -Recurse -Directory -Name -Path '%root%' | ?{(Get-Item "%root%\$_").GetFileSystemInfos().Count -eq 0}"`) do (
442445
echo -C "%root:\=\\%" %%i
443446
)
444447
)>"%~dp0tmp"

0 commit comments

Comments
 (0)