NativeScript / NativeScript/nativescript-cli

feature: diffrent directory for release and debug build.

Open
#3,564 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build feature
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

From @bhavincb on May 4, 2018 11:9

if nativescript have some way easily switch between debug build to release build it will be great feature.
currently when we run tns debug android it will build debug build.
after that running tns run android --release commang will build release package.
not if we run debug command again it will again run full build. which is quite time cosuming.

so if both debug and release build uses different directory then build time can be optimized greatly.

Copied from original issue: NativeScript/NativeScript#5778

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the tns debug android and tns run android --release command paths to identify where their build outputs are selected. Done means debug and release builds use separate directories and switching between commands no longer triggers an unnecessary full rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
build-system, cli, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.