添加 .gitignore 忽略二进制执行文件

This commit is contained in:
eson 2023-10-09 16:02:46 +08:00
parent 16acfb7320
commit bdb093e7da
20 changed files with 21 additions and 1 deletions

View File

@ -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"

View File

@ -1 +1,2 @@
auth
main

View File

@ -1 +1,2 @@
base
main

View File

@ -1 +1,2 @@
canteen
main

2
server/collection/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
collection
main

View File

@ -1 +1,2 @@
data-transfer
main

View File

@ -1 +1,2 @@
home-user-auth
main

View File

@ -1 +1,2 @@
info
main

View File

@ -1 +1,2 @@
map-library
main

View File

@ -1 +1,2 @@
order
main

View File

@ -1 +1,2 @@
pay
main

View File

@ -1 +1,2 @@
product-model
main

View File

@ -1 +1,2 @@
product-template-tag
main

View File

@ -1 +1,2 @@
product-template
main

View File

@ -1 +1,2 @@
product
main

View File

@ -1 +1,2 @@
resource
main

View File

@ -1 +1,2 @@
shopping-cart
main

View File

@ -1 +1,2 @@
upload
main

View File

@ -1 +1,2 @@
webset
main

View File

@ -1 +1,2 @@
websocket
main