Ricardo Panaggio created CB-11581: ------------------------------------- Summary: Add target configuration support and management Key: CB-11581 URL: https://issues.apache.org/jira/browse/CB-11581 Project: Apache Cordova Issue Type: Improvement Components: CLI Environment: N/A Reporter: Ricardo Panaggio
It would be awesome if it was possible to set target configuration. This would interact with the build-related tools, which would expect (possibly) different targets, instead of assuming a single target. This could be used by some people to maintain within a single project several different environments (i.e. development, qa, production, ...), several different build types (i.e. demo, full, deluxe, ...), and I'm sure many other uses would come up. This is a major change, and probably something that needs to be widely discussed before it's implemented, but something like supporting several config.xml (one per target) could be a good start, opening a great new avenue to improve this side of the CLI and Cordova tools in a broader way. For instance, if we had two targets (say, dev and prod) and we would like to build them on iOS, the CLI could be called like: ``` $ cordova build ios # for the default target, say dev (and nothing different from current syntax) $ cordova build ios:prod # for the production target, defined by prod.config.xml or config.prod.xml, or some other convention/configuration ``` -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org