Skip to content

Commit

Permalink
v1.1.5 update
Browse files Browse the repository at this point in the history
fixed bug where *-sources.jar files are unnecessarily included in compiled .addon files
  • Loading branch information
cvogt729 committed Nov 11, 2024
1 parent 9942488 commit fb95fca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Utility.bat
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if "%1" EQU "--goto" (
setlocal EnableDelayedExpansion

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

0 comments on commit fb95fca

Please sign in to comment.