mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Print a warning when building unavailable platforms
This commit is contained in:
@@ -81,6 +81,11 @@ cordova.buildTargets = function (localPath, targets, options) {
|
||||
checkRequestedPlatforms(platforms);
|
||||
|
||||
_.each(platforms, function (platform) {
|
||||
if (! _.contains(availablePlatforms, platform)) {
|
||||
Console.warn(platform + ': skipping platform not available on your system');
|
||||
return;
|
||||
}
|
||||
|
||||
requirePlatformReady(platform);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user