mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Update build scripts, moved cleanup to .yml
This commit is contained in:
parent
05fdaa3d3a
commit
2760a80879
2 changed files with 18 additions and 28 deletions
|
|
@ -31,27 +31,4 @@ IF %ERRORLEVEL% NEQ 0 (
|
|||
exit /b %ERRORLEVEL%
|
||||
)
|
||||
|
||||
cd ..
|
||||
|
||||
REM Step 3: Cleanup root directory of build files.
|
||||
echo Cleaning up root directory...
|
||||
|
||||
IF EXIST app (
|
||||
echo Deleting app directory...
|
||||
rmdir /s /q app
|
||||
)
|
||||
|
||||
IF EXIST ui (
|
||||
echo Deleting ui directory...
|
||||
rmdir /s /q ui
|
||||
)
|
||||
|
||||
for %%F in (*) do (
|
||||
set "file=%%~nxF"
|
||||
if /I not "!file!"=="Macrame.exe" if /I not "!file!"=="favicon.ico" if /I not "!file!"=="README.md" (
|
||||
echo Deleting !file!
|
||||
del /f /q "%%F"
|
||||
)
|
||||
)
|
||||
|
||||
echo Build and cleanup complete.
|
||||
echo Build complete.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue