You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticCLOUD_BUILDS_OPTION_NAME="Configure for Cloud Builds";
15
-
publicstaticSETUP_SCRIPT_OPTION_NAME="Configure for Local Builds";
14
+
publicstaticCLOUD_SETUP_OPTION_NAME="Configure for Cloud Builds";
15
+
publicstaticLOCAL_SETUP_OPTION_NAME="Configure for Local Builds";
16
16
publicstaticMANUALLY_SETUP_OPTION_NAME="Skip Step and Configure Manually";
17
-
privatestaticBOTH_CLOUD_BUILDS_AND_SETUP_SCRIPT_OPTION_NAME="Configure for Both Local and Cloud Builds";
18
-
privatestaticNOT_CONFIGURED_ENV_MESSAGE="To continue, choose one of the following options: ";
19
-
privatestaticNOT_CONFIGURED_ENV_AFTER_SETUP_SCRIPT_MESSAGE="The setup script was not able to configure your environment for local builds. To execute local builds, you have to set up your environment manually. To continue, choose one of the following options:";
17
+
privatestaticBOTH_CLOUD_SETUP_AND_LOCAL_SETUP_OPTION_NAME="Configure for Both Local and Cloud Builds";
18
+
privatestaticCHOOSE_OPTIONS_MESSAGE="To continue, choose one of the following options: ";
19
+
privatestaticNOT_CONFIGURED_ENV_AFTER_SETUP_SCRIPT_MESSAGE=`The setup script was not able to configure your environment for local builds. To execute local builds, you have to set up your environment manually. In case you have any questions, you can check our forum: 'http://forum.nativescript.org' and our public Slack channel: 'https://nativescriptcommunity.slack.com/'. ${PlatformEnvironmentRequirements.CHOOSE_OPTIONS_MESSAGE}`;
20
+
privatestaticMISSING_LOCAL_SETUP_MESSAGE="Your environment is not configured properly and you will not be able to execute local builds.";
21
+
privatestaticMISSING_LOCAL_AND_CLOUD_SETUP_MESSAGE=`You are missing the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and you will not be able to execute cloud builds. ${PlatformEnvironmentRequirements.MISSING_LOCAL_SETUP_MESSAGE}${PlatformEnvironmentRequirements.CHOOSE_OPTIONS_MESSAGE} `;
22
+
privatestaticRUN_TNS_SETUP_MESSAGE='Run $ tns setup command to run the setup script to try to automatically configure your environment for local builds.';
this.fail(`You are missing the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and you will not be able to execute cloud builds. Your environment is not configured properly and you will not be able to execute local builds. To continue, choose one of the following options: `+EOL
36
-
+"Run $ tns setup command to run the setup script to try to automatically configure your environment for local builds."+EOL
37
-
+`Run $ tns cloud setup command to install the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension to configure your environment for cloud builds.`+EOL
38
-
+`Verify that your environment is configured according to the system requirements described at ${this.$staticConfig.SYS_REQUIREMENTS_LINK}`);
this.$logger.info(`You are missing the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and you will not be able to execute cloud builds. Your environment is not configured properly and you will not be able to execute local builds. `+EOL
42
-
+`Select "Configure for Cloud Builds" to install the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and automatically configure your environment for cloud builds.`+EOL
43
-
+`Select "Configure for Local Builds" to run the setup script and automatically configure your environment for local builds.`
44
-
+`Select "Configure for Both Local and Cloud Builds" to automatically configure your environment for both options.`
45
-
+`Select "Skip Step and Configure Manually" to disregard these options and install any required components manually.`);
return`In order to test your application use the $ tns login command to log in with your account and then $ tns cloud build command to build your app in the cloud.`;
@@ -136,5 +130,62 @@ export class PlatformEnvironmentRequirements implements IPlatformEnvironmentRequ
`Run $ tns cloud setup command to install the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension to configure your environment for cloud builds.`,
constmessage=`The ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension is installed and you can ${_.lowerFirst(this.getCloudBuildsMessage(platform))}`;
`Select "Configure for Cloud Builds" to install the ${constants.NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and automatically configure your environment for cloud builds.`,
163
+
`Select "Configure for Local Builds" to run the setup script and automatically configure your environment for local builds.`,
164
+
`Select "Configure for Both Local and Cloud Builds" to automatically configure your environment for both options.`,
165
+
`Select "Configure for Both Local and Cloud Builds" to automatically configure your environment for both options.`
0 commit comments