🔨 Update build scripts

This commit is contained in:
Liang Ding 2022-05-27 11:47:56 +08:00
parent 25034d5eb2
commit dc46b478bc
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
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