flutter/packages/flutter_tools
stuartmorgan aecf053ee0
Use vswhere to find Visual Studio (#33448)
Rather than hard-coding a set of locations to check, use vswhere (which
is installed by VS 2017 and later), and construct the vcvars64.bat path
relative to that. This will allow Windows builds to work without special
configuration for people who have VS installed at a custom path.

Also adds error logging with different messages for each failure point,
so that rather than the not-very-informative 'failed to find
vcvars64.bat' message, the failure will provide feedback about what to
do.

This is an interim solution; later this will be replaced by a
VisualStudio class with associated validator to match the structure of
the other toolchains.

Fixes #33249
2019-05-29 09:17:17 -07:00
..
bin Wrap Windows build invocation in a batch script (#33443) 2019-05-28 21:53:03 -07:00
doc Add a note about events coming from the server (#31419) 2019-04-22 17:36:07 +01:00
gradle Add mustRunAfter on mergeAssets task to force task ordering (#33272) 2019-05-28 10:01:19 -07:00
ide_templates/intellij Implements focus handling and hover for Material buttons. (#31438) 2019-05-14 20:48:29 -07:00
lib Use vswhere to find Visual Studio (#33448) 2019-05-29 09:17:17 -07:00
schema Add macosPrefix to the pubspec schema for plugins (#33287) 2019-05-24 15:39:48 -04:00
templates Make paths absolute in settings.gradle (#33228) 2019-05-23 23:32:11 -07:00
test Use vswhere to find Visual Studio (#33448) 2019-05-29 09:17:17 -07:00
tool make FlutterProject synchronous (#31757) 2019-04-29 08:21:32 -07:00
analysis_options.yaml refactor context to be implicit-downcast safe (#31622) 2019-04-25 15:51:08 -07:00
BUILD.gn ensure that fe server is always built with tool (#29768) 2019-03-26 17:11:04 -07:00
build.yaml Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
pubspec.yaml Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206) 2019-05-22 12:20:02 -07:00
README.md Slight doc change (#24526) 2018-11-19 09:11:40 -08:00

Flutter Tools

Developer tools for building Flutter applications.

Be sure to follow the instructions on CONTRIBUTING.md to setup.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

../../bin/cache/dart-sdk/bin/pub run test