更新新的加载依赖方式

This commit is contained in:
eson 2023-09-19 12:01:37 +08:00
parent a9f6a26c40
commit 7fd65d9ac7
19 changed files with 20 additions and 16 deletions

14
.gitignore vendored
View File

@ -40,20 +40,6 @@ screenlog.*
proxyserver/proxyserver
server/backend/backend
server/canteen/canteen
server/data-transfer/data-transfer
server/home-user-auth/home-user-auth
server/inventory/inventory
server/map-library/map-library
server/orders/orders
server/product/product
server/product-model/product-model
server/product-template/product-template
server/shopping-cart-confirmation/shopping-cart-confirmation
server/upload/upload
server/webset/webset
shared-state
*.zip

View File

@ -15,8 +15,10 @@ run_server() {
# 导航到相应的目录
cd server/$server_name
go build
echo $server_name > .gitignore
# 使用 screen 运行 go run <server_name>.go
screen -dmS $server_name -L go run $server_name.go
screen -dmS $server_name -L ./$server_name
# 返回到上一级目录
cd - > /dev/null
@ -38,7 +40,6 @@ for server_dir in "${server_dirs[@]}"; do
run_server $server_dir
done
# 定义目录和screen名称
dir_path="./proxyserver"
screen_name="proxyserver"

1
server/auth/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
auth

1
server/base/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
base

1
server/canteen/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
canteen

1
server/data-transfer/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data-transfer

1
server/home-user-auth/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
home-user-auth

1
server/info/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
info

1
server/map-library/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
map-library

1
server/pay/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
pay

1
server/product-model/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
product-model

View File

@ -0,0 +1 @@
product-template-tag

1
server/product-template/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
product-template

1
server/product/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
product

1
server/resource/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
resource

1
server/shopping-cart/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
shopping-cart

1
server/upload/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
upload

1
server/webset/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
webset

1
server/websocket/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
websocket