WMS_PDA/.gitignore
liufumingren 06d58a5a71 chore(apk): 移植 Android 离线打包流水线(命令行出 APK,无需 HBuilderX)
- android-offline/:DCloud 离线集成工程(simpleDemo/libs 含 5+ Runtime aar)+ pack.ps1 + prepare.cjs
- 包名 com.gztbyc.pda_wms、appId __UNI__0B3DAD3、BootReceiver 迁到新包名目录
- AndroidManifest 补齐权限(与 src/manifest.json 对齐)、新增蓝牙权限与 usesCleartextTraffic(生产接口为 http)
- prepare.cjs 默认资源目录改为 dist/build/app-plus,注入到 assets/apps/__UNI__0B3DAD3/www 并对齐 compilerVersion
- config/:android.example.json 模板 + README(appKey 与 appId/包名/证书指纹绑定说明);android.json 与 keystore 均不提交
- scripts/build-apk.cjs + npm run build:apk / android:pack:raw:生产编译(含地址校验)→ gradle 出包到 release/android
- .gitignore 忽略 keystore、config/android.json、SDK、生成的 www 与 release
2026-10-02 21:12:15 +08:00

59 lines
1.2 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.

# .gitignore for WMS_PDA 项目
# Node
node_modules/
# 依赖包
package-lock.json
yarn.lock
pnpm-lock.yaml
# 构建输出
/dist
/build
/unpackage
# 日志
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# 本地环境配置
.env.local
.env.*.local
# VSCode
.vscode/
# Mac 系统文件
.DS_Store
# 其他常见忽略
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# 静态资源缓存
static/uview/
# ===== Android 离线打包(详见 android-offline/README.md) =====
# 签名密钥与本地配置(含密码)不提交
android-offline/keystore/
config/android.json
# DCloud 离线 SDK(体积大,按需下载解压,勿提交)
android-offline/SDK/
# 原生工程的本地产物(工程源码本身提交,保证发布基座一致)
android-offline/HBuilder-Integrate-AS/local.properties
android-offline/HBuilder-Integrate-AS/.gradle/
android-offline/HBuilder-Integrate-AS/.idea/
android-offline/HBuilder-Integrate-AS/**/build/
android-offline/HBuilder-Integrate-AS/**/*.iml
# 打包时拷入的 App 资源(由 dist/build/app-plus 生成)
android-offline/HBuilder-Integrate-AS/simpleDemo/src/main/assets/apps/__UNI__0B3DAD3/
# APK / exe 产物
release/
# 其他可根据实际情况添加