Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Capacitor | Angular: Add Environment Options to Pass to Capacitor Command. #3

Open
tommyc38 opened this issue Oct 13, 2023 · 0 comments

Comments

@tommyc38
Copy link

Is your feature request related to a problem? Please describe.
I need to be able to run different builds of iOS/Android dynmaically. In order to do that I need to be able to pass environement variables to the capacitor command. See the capacitor docs describing this here.

Describe the solution you'd like
I would like a new option, env, which would be a string that would be executed before the npx command (e.g. 'NODE_ENV=dev OTHER_VAR=FOO').

Describe alternatives you've considered
I can't think of any other way.

Additional context
N/A

@tommyc38 tommyc38 changed the title Capacitor | Angular: Add Environment Options to Pass to CMD. Capacitor | Angular: Add Environment Options to Pass to Capacitor Command. Oct 13, 2023
@DominikPieper DominikPieper transferred this issue from nxext/nx-extensions Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant