[TIMOB-24750] Only configure platforms that are deployment targets
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-05-31T19:27:43.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.1 |
Components | CLI |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2017-05-30T17:29:22.000+0000 |
Updated | 2017-10-25T15:53:14.000+0000 |
Description
- When building an app all possible platforms are configured before each build, including ones that are not targeted
- We should only configure the platforms that are being targeted for that build
master: https://github.com/appcelerator/node-titanium-sdk/pull/8
FYI: https://github.com/appcelerator/node-titanium-sdk/pull/10
This got pulled into 6.1.1 through https://github.com/appcelerator/titanium_mobile/pull/9177, marking as such
Verified using Ti SDK: 6.1.1.v20170626160851 Appc CLI: 6.2.2 Appc NPM: 4.2.9 Appc Studio: 4.9.0.201705302345 I caused failures in the build process in the following ways
Windows as an authoring OS
Android builds
Moved the winappdeploycmd executable to a different location
Ran a build for Android
Windows builds
Added a bad require to the android _build.js file
Ran a build for Windows
OSX as an authoring OS
Android builds
Added a bad require to the ios _build.js file
Ran a build for Android from Studio and CLI
OS builds
Added a bad require to the android _build.js file
Ran a build for iOS (using the iphone, ipad and ios
In all cases, on 6.0.4.GA the build would error out due to the other platform failing. On 6.1.1.v20170626160851 the build would not fail when the other platform fails--platform
aliases)