vsts-flutter-tasks
vsts-flutter-tasks copied to clipboard
Running analyzer
It would be really helpful if we could run the dart analyzer
.
https://flutter.dev/docs/testing/debugging#the-dart-analyzer
Thank you!
To add, I would also like to see flutter analyze
task.
In the meantime you can use the Flutter Command
task from latest version.
What is the proper way to run the analyzer with a command? I have the following pipeline:
steps:
- task: FlutterInstall@0
inputs:
channel: 'stable'
version: 'custom'
customVersion: 'v1.12.13+hotfix.9'
- task: FlutterCommand@0
inputs:
arguments: 'flutter analyze'
But there is no output from the actual command:
2020-05-25T17:07:24.9211590Z ##[section]Starting: FlutterCommand
2020-05-25T17:07:24.9221660Z ==============================================================================
2020-05-25T17:07:24.9222020Z Task : Flutter Command
2020-05-25T17:07:24.9222380Z Description : Launch a custom Flutter command with custom arguments.
2020-05-25T17:07:24.9222670Z Version : 0.2.32
2020-05-25T17:07:24.9222900Z Author : Aloïs Deniel
2020-05-25T17:07:24.9223410Z Help : Don't forget to insert a 'Flutter Install' task before. [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
2020-05-25T17:07:24.9224010Z ==============================================================================
2020-05-25T17:07:25.0811470Z ##[section]Finishing: FlutterCommand
The step is marked as successful (green color) although there are warnings in the project and it should fail? Am I doing something wrong?