Skip to content

Commit

Permalink
Revert "back to yarn"
Browse files Browse the repository at this point in the history
This reverts commit 3d10162 [formerly 453eaac].


Former-commit-id: 3c6da1b
  • Loading branch information
MakinoharaShoko committed May 15, 2023
1 parent 3d10162 commit a5e0d1f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8,053 deletions.
4 changes: 2 additions & 2 deletions build-electron.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd packages/WebGAL-electron
yarn
yarn build
npm i
npm run build
cd ../terre2/assets/templates/
mkdir WebGAL_Electron_Template
cd ../../../WebGAL-electron
Expand Down
13 changes: 6 additions & 7 deletions release-linux.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
echo "Welcome to build WebGAL Origine, the editor of WebGAL platform."
# 安装依赖
npm install yarn -g
yarn
npm i

# 清理
rm -rf release
Expand All @@ -10,8 +9,8 @@ mkdir release

# 进入 Terre 目录
cd packages/terre2
yarn build
yarn pkg
npm run build
npm run pkg
cd dist
cp -r WebGAL_Terre ../../../release
rm WebGAL_Terre
Expand All @@ -24,14 +23,14 @@ cd ../../
cd packages/origine2
# 低内存,使用下一行限制内存使用
# export NODE_OPTIONS=--max_old_space_size=512000
yarn build
npm run build
cp -rf dist/* ../../release/public/
cd ../../

# 进入 Electron 目录
cd packages/WebGAL-electron
yarn
yarn build
npm i
npm run build
mkdir ../../release/assets/templates/WebGAL_Electron_Template
cp -rf build/linux-unpacked/* ../../release/assets/templates/WebGAL_Electron_Template/
cd ../../
Expand Down
13 changes: 6 additions & 7 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
echo "Welcome to build WebGAL Origine, the editor of WebGAL platform."
# 安装依赖
npm install yarn -g
yarn
npm i

# 清理
rm -rf release
Expand All @@ -10,8 +9,8 @@ mkdir release

# 进入 Terre 目录
cd packages/terre2
yarn build
yarn pkg
npm run build
npm run pkg
cd dist
cp -r WebGAL_Terre.exe ../../../release
rm WebGAL_Terre.exe
Expand All @@ -22,14 +21,14 @@ cd ../../

# 进入 Origine 目录
cd packages/origine2
yarn build
npm run build
cp -rf dist/* ../../release/public/
cd ../../

# 进入 Electron 目录
cd packages/WebGAL-electron
yarn
yarn build
npm i
npm run build
mkdir ../../release/assets/templates/WebGAL_Electron_Template
cp -rf build/win-unpacked/* ../../release/assets/templates/WebGAL_Electron_Template/
cd ../../
Expand Down
Loading

0 comments on commit a5e0d1f

Please sign in to comment.