NativeScript / NativeScript/nativescript-cli
Request: Support environments other than release and debug
未關閉
還沒有人認領這個 Issue。
build
feature
publish
run
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Currently, there are two supported environments, release and debug. The default is debug and "--release" can be used to build a release version of the app. It would be useful to have other environments, so I was wondering if it would be possible to add an "--environment" flag be allowed to specify these.
For example, "tns run android --environment=test" would use the file app.component.test.ts.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 tns run android 的 CLI 處理以及現有的 --release 和偵錯環境選擇開始。追蹤 app.component.ts 的選擇方式,然後定義 --environment=test 必須選擇什麼,並透過使用 app.component.test.ts 的範例命令展示完成情況。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript, typescript
- 領域
- cli, mobile-dev
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100