2 changed files with 22 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||
|
@echo off |
||||
|
cd /d %~dp0 |
||||
|
|
||||
|
call npm run build:prod |
||||
|
if errorlevel 1 exit /b 1 |
||||
|
|
||||
|
tar -zcf customer.tar.gz -C dist . |
||||
|
if errorlevel 1 exit /b 1 |
||||
|
|
||||
|
echo build success: customer.tar.gz |
||||
|
paus |
||||
@ -0,0 +1,11 @@ |
|||||
|
@echo off |
||||
|
cd /d %~dp0 |
||||
|
|
||||
|
call npm run build:stage |
||||
|
if errorlevel 1 exit /b 1 |
||||
|
|
||||
|
tar -zcf customer.tar.gz -C dist . |
||||
|
if errorlevel 1 exit /b 1 |
||||
|
|
||||
|
echo build success: customer.tar.gz |
||||
|
paus |
||||
Loading…
Reference in new issue