🔨 Update build scripts

This commit is contained in:
Liang Ding
2022-05-27 11:47:56 +08:00
parent 25034d5eb2
commit dc46b478bc
5 changed files with 13 additions and 12 deletions

View File

@@ -1,4 +0,0 @@
echo 'Building UI'
cd app
call npm install && npm run build
cd ..

View File

@@ -1,6 +0,0 @@
#!/bin/bash
echo 'Building UI'
cd app
npm install && npm run build
cd ..

View File

@@ -2,9 +2,10 @@
echo 'Building UI'
cd app
npm run build
npm install && npm run build
cd ..
echo 'Cleaning Builds'
rm -rf app/build
rm -rf app/kernel-darwin
rm -rf app/kernel-darwin-arm64

View File

@@ -1,7 +1,11 @@
#!/bin/bash
./build-ui.sh
echo 'Building UI'
cd app
npm install && npm run build
cd ..
echo 'Cleaning Builds'
rm -rf app/build
rm -rf app/kernel-linux

View File

@@ -1,4 +1,10 @@
echo 'Building UI'
cd app
call npm install
call npm run build
cd ..
echo 'Cleaning Builds'
del /S /Q /F app\build 1>nul
del /S /Q /F app\kernel 1>nul
del /S /Q /F app\kernel32 1>nul