mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Windows-build script update.
This commit is contained in:
parent
2fe1266c34
commit
5dbd66ea0c
1 changed files with 7 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
setlocal enabledelayedexpansion
|
||||||
|
|
||||||
REM Step 1: Build Macrame Go application for Windows
|
REM Step 1: Build Macrame Go application for Windows
|
||||||
echo Building Macrame Go Application for Windows...
|
echo Building Macrame Go Application for Windows...
|
||||||
|
|
@ -9,7 +10,7 @@ IF %ERRORLEVEL% NEQ 0 (
|
||||||
echo Go build failed!
|
echo Go build failed!
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
) ELSE (
|
) ELSE (
|
||||||
echo Go build was succesful!
|
echo Go build was successful!
|
||||||
)
|
)
|
||||||
|
|
||||||
REM Step 2: Build Macrame Vue UI
|
REM Step 2: Build Macrame Vue UI
|
||||||
|
|
@ -30,10 +31,12 @@ IF %ERRORLEVEL% NEQ 0 (
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
)
|
)
|
||||||
|
|
||||||
REM Step 3: Cleanup root directory of build files.
|
cd ..
|
||||||
|
|
||||||
|
REM Step 3: Cleanup root directory of build files.
|
||||||
echo Cleaning up root directory...
|
echo Cleaning up root directory...
|
||||||
|
|
||||||
echo Removing directories: app, ui and build-scripts
|
echo Removing directories: app, ui, and build-scripts
|
||||||
rmdir /s /q app
|
rmdir /s /q app
|
||||||
rmdir /s /q ui
|
rmdir /s /q ui
|
||||||
rmdir /s /q build-scripts
|
rmdir /s /q build-scripts
|
||||||
|
|
@ -46,6 +49,4 @@ for %%F in (*) do (
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
echo Build and cleanup complete.
|
echo Build and cleanup complete.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue