worklog/.gitignore
zhangjf 814265d88e refactor: 重构项目目录结构和打包配置
1. 配置文件不包含 *example 文件
2. scripts 目录迁移到项目根目录
3. env.properties 迁移到 scripts 目录
4. MAIN_CLASS 参数迁移到 service.properties
5. assembly.xml 更新脚本和配置文件路径
6. 添加前端打包脚本:
   - build-web.sh: 管理后台打包
   - build-mobile.sh: 移动端H5打包
   - build-all.sh: 全量打包
7. 更新 .gitignore 忽略配置
2026-02-24 18:28:04 +08:00

100 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ====================================================
# 工作日志服务平台 - Git 忽略配置
# ====================================================
# ==================== IDE ====================
# IntelliJ IDEA
.idea/
*.iml
*.iws
*.ipr
out/
# Eclipse
.classpath
.project
.settings/
bin/
# VSCode
.vscode/
# ==================== 构建产物 ====================
target/
build/
dist/
*.class
*.jar
*.war
*.ear
# ==================== 日志文件 ====================
logs/
*.log
/log/
# ==================== 临时文件 ====================
*.tmp
*.bak
*.swp
*~.nib
*.cache
# ==================== 配置文件(敏感信息)====================
# 配置文件包含敏感信息,不提交到仓库
application.yml
application-dev.yml
application-test.yml
application-prod.yml
bootstrap.yml
# 实际配置文件(敏感信息,仅模板提交)
scripts/env.properties
worklog-api/src/main/resources/service.properties
# 数据库备份
*.sql.backup
db_backup/
# ==================== Assembly 打包输出 ====================
deploy/worklog-api/
deploy/worklog-api.tar.gz
deploy/worklog-web/
deploy/worklog-mobile/
# ==================== 上传文件 ====================
uploads/
files/
# ==================== 系统文件 ====================
.DS_Store
Thumbs.db
desktop.ini
# ==================== Node.js前端====================
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
# ==================== Maven ====================
.mvn/
mvnw
mvnw.cmd
# ==================== Gradle ====================
.gradle/
gradle/
gradlew
gradlew.bat
# ==================== 其他 ====================
*.pid
*.seed
*.pid.lock
.env
.env.local
.env.*.local