mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🔨 Update build scripts
This commit is contained in:
parent
25034d5eb2
commit
dc46b478bc
5 changed files with 13 additions and 12 deletions
|
@ -1,4 +0,0 @@
|
|||
echo 'Building UI'
|
||||
cd app
|
||||
call npm install && npm run build
|
||||
cd ..
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo 'Building UI'
|
||||
cd app
|
||||
npm install && npm run build
|
||||
cd ..
|
|
@ -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
|
|
@ -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
|
||||
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue