danger_plugin_dart_analyze

Creator: coderz1093

Last updated:

0 purchases

danger_plugin_dart_analyze Image
danger_plugin_dart_analyze Images

Languages

Categories

Add to Cart

Description:

danger plugin dart analyze

Danger Plugin: Dart Analyze #

This plugin will parse the analyze results, and notify.
Usage #
First, you need to prepare test result in json format.
You may either:
dart analyze > your_analyze_results.log
flutter analyze > your_analyze_results.log
copied to clipboard
Adding this plugin to pubspec.yaml
dev_dependencies:
danger_core:
danger_plugin_dart_analyze:
copied to clipboard
In dangerfile.dart, you need to import this, and call DangerPluginDartAnalyze.processFile with analyze result file.
import 'dart:io';

import 'package:danger_core/danger_core.dart';
import 'package:danger_plugin_dart_analyze/danger_plugin_dart_analyze.dart';

void main() {
final analyzeResultFile = File('your_analyze_results.log');
DangerPluginDartAnalyze.processFile(analyzeResultFile);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.