add build script

This commit is contained in:
xfy
2025-02-25 15:14:31 +08:00
parent 52fc6d4c2e
commit f33cb12bdd

View File

@ -0,0 +1,12 @@
#!/bin/env bash
# 16 staging
build_client_v3() {
fnm use && yarn && yarn build-showyun && scp -r -O build/* root@16:/home/wwwroot/editor_meta_showyun/ &&
fnm use && yarn && yarn build-showyun-viewer-rel && scp -r -O build/* root@16:/home/wwwroot/design_meta_showyun/
}
build_client_v2() {
fnm use && yarn && yarn build-showyun && scp -r -O build/* root@16:/home/wwwroot/editor_showyun &&
fnm use && yarn && yarn build-showyun-viewer-rel && scp -r -O build/* root@16:/home/wwwroot/design_showyun
}