NativeScript / NativeScript/nx

Custom Configurations

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
68
Forks
15
PR merge metrics
No merged PRs in 30d

Description

https://github.com/NativeScript/nx/blob/33a0e61000e1f2e794a4df44f35d2dfcadbc9283/packages/nx/src/builders/build/builder.ts#L9

Because this is hard coded to build it is difficult to customize configurations, for example having a configuration for building debug and production android applications.

Really the problem comes down to debug and build are wrapped up into a single executor.

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 with packages/nx/src/builders/build/builder.ts at the referenced line and trace how the build executor selects the hard-coded build configuration. Determine how debug and production Android configurations should be separated or selected. Done means custom configurations can be used for distinct debug and production Android builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, 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.