mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 01:40:10 -06:00
🔨 Update build scripts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user