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
publicstaticSYNC_TO_PREVIEW_APP_OPTION_NAME="Sync to Playground";
25
21
publicstaticMANUALLY_SETUP_OPTION_NAME="Skip Step and Configure Manually";
26
-
privatestaticBOTH_CLOUD_SETUP_AND_LOCAL_SETUP_OPTION_NAME="Configure for Both Local and Cloud Builds";
27
22
privatestaticCHOOSE_OPTIONS_MESSAGE="To continue, choose one of the following options: ";
28
23
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. Please consult our setup instructions here 'https://docs.nativescript.org/start/quick-setup'.`;
29
24
privatestaticMISSING_LOCAL_SETUP_MESSAGE="Your environment is not configured properly and you will not be able to execute local builds.";
30
-
privatestaticMISSING_LOCAL_AND_CLOUD_SETUP_MESSAGE=`You are missing the ${NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and you will not be able to execute cloud builds. ${PlatformEnvironmentRequirements.MISSING_LOCAL_SETUP_MESSAGE}${PlatformEnvironmentRequirements.CHOOSE_OPTIONS_MESSAGE} `;
31
-
privatestaticMISSING_LOCAL_BUT_CLOUD_SETUP_MESSAGE=`You have ${NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension installed, so you can execute cloud builds, but ${_.lowerFirst(PlatformEnvironmentRequirements.MISSING_LOCAL_SETUP_MESSAGE)}`;
32
25
privatestaticRUN_TNS_SETUP_MESSAGE='Run $ tns setup command to run the setup script to try to automatically configure your environment for local builds.';
33
26
privatestaticSYNC_TO_PREVIEW_APP_MESSAGE=`Select "Sync to Playground" to enjoy NativeScript without any local setup. All you need is a couple of companion apps installed on your devices.`;
34
27
privatestaticRUN_PREVIEW_COMMAND_MESSAGE=`Run $ tns preview command to enjoy NativeScript without any local setup.`;
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.`;
157
-
}
158
-
159
-
if(!platform){
160
-
return`Use the $ tns login command to log in with your account and then $ ${cloudCommandName.toLowerCase()} command.`;
161
-
}
162
-
163
-
return`Use the $ tns login command to log in with your account and then $ ${cloudCommandName.toLowerCase()}${platform.toLowerCase()} command.`;
@@ -195,52 +111,25 @@ export class PlatformEnvironmentRequirements implements IPlatformEnvironmentRequ
195
111
this.fail(`To be able to ${platform ? `build for ${platform}` : 'build'}, verify that your environment is configured according to the system requirements described at ${this.$staticConfig.SYS_REQUIREMENTS_LINK}. If you have any questions, check Stack Overflow: 'https://stackoverflow.com/questions/tagged/nativescript' and our public Slack channel: 'https://nativescriptcommunity.slack.com/'`);
`Select "Configure for Local Builds" to run the setup script and automatically configure your environment for local builds.`,
237
131
`Select "Skip Step and Configure Manually" to disregard this option and install any required components manually.`
238
-
] : [
239
-
`Select "Configure for Cloud Builds" to install the ${NATIVESCRIPT_CLOUD_EXTENSION_NAME} extension and automatically configure your environment for cloud builds.`,
240
-
`Select "Configure for Local Builds" to run the setup script and automatically configure your environment for local builds.`,
241
-
`Select "Configure for Both Local and Cloud Builds" to automatically configure your environment for both options.`,
242
-
`Select "Configure for Both Local and Cloud Builds" to automatically configure your environment for both options.`
0 commit comments