Closed dream-approaching closed 2 months ago
在RN工程中添加postinstall脚本,用于自动生成build-profile.json5
postinstall
防止签名信息传到代码仓
在 npm install 之后执行
npm install
脚本文件:scripts/create-build-profile 模板文件:tester/harmony/build-profile.template.json5
scripts/create-build-profile
tester/harmony/build-profile.template.json5
Feature Request
在RN工程中添加
postinstall
脚本,用于自动生成build-profile.json5Why it is needed
防止签名信息传到代码仓
Possible implementation
在
npm install
之后执行Code sample
脚本文件:
scripts/create-build-profile
模板文件:tester/harmony/build-profile.template.json5