modify scripts

This commit is contained in:
oscarz
2025-07-11 17:39:30 +08:00
parent 77ac61144d
commit 1b79e21b76
4 changed files with 24 additions and 46 deletions

View File

@ -10,6 +10,15 @@ obj/
*.out
*.o
# 排除 bin/ 目录下的脚本(不忽略)
!bin/*.sh
!bin/*.py
# 若 bin/ 目录下有子目录,且需要保留子目录中的脚本,可添加:
!bin/**/ # 不忽略 bin/ 下的子目录
!bin/**/*.sh # 保留子目录中的 .sh 脚本
!bin/**/*.py # 保留子目录中的 .py 脚本
# 忽略依赖文件
vendor/
node_modules/