Add watchman installation check

Summary: Doctor to show warning if Watchman is not available

Reviewed By: mweststrate

Differential Revision: D19298730

fbshipit-source-id: 68f915c63c5f78aad91f549aabda8d4d972f4e39
This commit is contained in:
Anton Nikolaev
2020-01-08 01:57:56 -08:00
committed by Facebook Github Bot
parent 857b9816a0
commit 5c8ab0790b
6 changed files with 81 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ const HEALTHCHECKS: Healthchecks = {
isRequired: true,
healthchecks: [
{
key: 'ios.sdk',
label: 'SDK Installed',
run: async (_env: EnvironmentInfo) => {
return {hasProblem: false};
@@ -37,6 +38,7 @@ const HEALTHCHECKS: Healthchecks = {
isRequired: true,
healthchecks: [
{
key: 'android.sdk',
label: 'SDK Installed',
run: async (_env: EnvironmentInfo) => {
return {hasProblem: true};
@@ -50,6 +52,7 @@ const HEALTHCHECKS: Healthchecks = {
isRequired: false,
healthchecks: [
{
key: 'common.openssl',
label: 'OpenSSL Istalled',
run: async (_env: EnvironmentInfo) => {
return {hasProblem: false};