NativeScript / NativeScript/nativescript-cli
Request: Support environments other than release and debug
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI handling for tns run android and the existing --release and debug environment selection. Trace how app.component.ts is chosen, then define what --environment=test must select, with completion shown by the example command using app.component.test.ts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, typescript
- Domain
- cli, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100