添加 .gitignore 忽略二进制执行文件
This commit is contained in:
parent
16acfb7320
commit
bdb093e7da
|
@ -48,7 +48,7 @@ run_server() {
|
|||
|
||||
# 循环检查screen进程是否存在
|
||||
|
||||
[ -f .gitignore ] || echo $server_name > .gitignore
|
||||
[ -f .gitignore ] || (echo "$server_name" > .gitignore && echo "main" >> .gitignore)
|
||||
# 使用 screen 运行 go run <server_name>.go
|
||||
|
||||
echo "Running $server_name"
|
||||
|
|
1
server/auth/.gitignore
vendored
1
server/auth/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
auth
|
||||
main
|
||||
|
|
1
server/base/.gitignore
vendored
1
server/base/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
base
|
||||
main
|
||||
|
|
1
server/canteen/.gitignore
vendored
1
server/canteen/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
canteen
|
||||
main
|
||||
|
|
2
server/collection/.gitignore
vendored
Normal file
2
server/collection/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
collection
|
||||
main
|
1
server/data-transfer/.gitignore
vendored
1
server/data-transfer/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
data-transfer
|
||||
main
|
||||
|
|
1
server/home-user-auth/.gitignore
vendored
1
server/home-user-auth/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
home-user-auth
|
||||
main
|
||||
|
|
1
server/info/.gitignore
vendored
1
server/info/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
info
|
||||
main
|
||||
|
|
1
server/map-library/.gitignore
vendored
1
server/map-library/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
map-library
|
||||
main
|
||||
|
|
1
server/order/.gitignore
vendored
1
server/order/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
order
|
||||
main
|
||||
|
|
1
server/pay/.gitignore
vendored
1
server/pay/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
pay
|
||||
main
|
||||
|
|
1
server/product-model/.gitignore
vendored
1
server/product-model/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
product-model
|
||||
main
|
||||
|
|
1
server/product-template-tag/.gitignore
vendored
1
server/product-template-tag/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
product-template-tag
|
||||
main
|
||||
|
|
1
server/product-template/.gitignore
vendored
1
server/product-template/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
product-template
|
||||
main
|
||||
|
|
1
server/product/.gitignore
vendored
1
server/product/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
product
|
||||
main
|
||||
|
|
1
server/resource/.gitignore
vendored
1
server/resource/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
resource
|
||||
main
|
||||
|
|
1
server/shopping-cart/.gitignore
vendored
1
server/shopping-cart/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
shopping-cart
|
||||
main
|
||||
|
|
1
server/upload/.gitignore
vendored
1
server/upload/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
upload
|
||||
main
|
||||
|
|
1
server/webset/.gitignore
vendored
1
server/webset/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
webset
|
||||
main
|
||||
|
|
1
server/websocket/.gitignore
vendored
1
server/websocket/.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
websocket
|
||||
main
|
||||
|
|
Loading…
Reference in New Issue
Block a user