mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Only list individual platform requirements when in verbose mode
Listing them all by default may confuse people, and make them overlook the installation instructions URL.
This commit is contained in:
18
tools/cordova/project.js
vendored
18
tools/cordova/project.js
vendored
@@ -222,15 +222,25 @@ ${displayNameForPlatform(platform)}`);
|
||||
|
||||
if (!satisfied) {
|
||||
Console.info();
|
||||
Console.info(`Not all installation requirements are satisfied \
|
||||
for building and running apps for ${displayNameForPlatform(platform)}.`);
|
||||
Console.info(`Your system does not yet seem to fulfill all requirements \
|
||||
to build apps for ${displayNameForPlatform(platform)}.`);
|
||||
|
||||
const url = installationInstructionsUrlForPlatform(platform);
|
||||
if (url) {
|
||||
Console.info("Please follow the instructions here:");
|
||||
Console.info();
|
||||
Console.info("Please follow the installation instructions here:");
|
||||
Console.info(Console.url(url));
|
||||
}
|
||||
|
||||
Console.info();
|
||||
Console.info("More details about the individual requirements:");
|
||||
|
||||
if (!Console.verbose) {
|
||||
Console.info("Specify the --verbose option to see more details about \
|
||||
the status of individual requirements.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Console.info("Status of the requirements:");
|
||||
for (requirement of requirements) {
|
||||
const name = requirement.name;
|
||||
if (requirement.installed) {
|
||||
|
||||
Reference in New Issue
Block a user