NativeScript / NativeScript/nativescript-cli
Ability to have a configuration file for release
未关闭
还没有人认领这个 Issue。
feature
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
It would be nice if there was a config file like release.json which describes the settings when code-signing an app in release mode:
{
common: {
encrypt: true,
uglify: true
},
android: {
keystore-path: 'path',
keystore-pwd: 'pwd',
keystore-alias: 'alias',
keystore-alias-pwd: 'alias-pwd'
},
ios: {
...
}
}
And then you just have to run tns build android --release to get your app ready for production.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 tns build <platform> --release 的 CLI 入口点,以及现有的 Android 和 iOS 代码签名流程。检查当前如何提供 release 设置,然后定义配置文件格式和受支持的平台设置。当 release 命令能够读取配置并生成已签名的 Android 和 iOS 构建时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, ios, javascript
- 领域
- build-system, cli, mobile, release
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100