Skip to content

Unify doctor checks and code that locates binary artifacts (executables, sdks) #9134

@cbracken

Description

@cbracken

A lot of the tool presence/version checks we perform in flutter doctor would be useful to perform before steps that involve invocation of those tools.

Examples from the iOS side include checking Xcode and CocoaPods presence/version and presence of the Python six module before iOS build/run.

One option would be to factor out a tool class that has the ability to check presence/version of the tool and how to run it, then use this in the build step and in doctor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: first hourThe first hour of using Fluttert: flutter doctorProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions