mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Skip the whole build if there is nothing to build for
This commit is contained in:
@@ -720,6 +720,8 @@ var pluginsConfiguration = {};
|
||||
// Build a Cordova project, creating a Cordova project if necessary.
|
||||
var buildCordova = function (localPath, platforms, options) {
|
||||
verboseLog('Building the cordova build project');
|
||||
if (_.isEmpty(platforms))
|
||||
return;
|
||||
|
||||
buildmessage.enterJob({ title: 'Building for mobile devices' }, function () {
|
||||
var bundlePath = path.join(localPath, 'build-cordova-temp');
|
||||
|
||||
Reference in New Issue
Block a user