Skip to content

Commit

Permalink
Recognize new example files in bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Jun 11, 2024
1 parent 08a3ca2 commit 7fb0d99
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.22.6

- New recognized example files in the `example/bin` directory.

## 0.22.5

- Updated text and link on downgrade analysis.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/maintenance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ List<String> exampleFileCandidates(String package) {
return <String>[
'example/example.md',
'example/lib/main.dart',
'example/bin/main.dart',
'example/main.dart',
'example/lib/$package.dart',
'example/bin/$package.dart',
'example/$package.dart',
'example/lib/${package}_example.dart',
'example/bin/${package}_example.dart',
'example/${package}_example.dart',
'example/lib/example.dart',
'example/bin/example.dart',
'example/example.dart',
'example/README.md',
];
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pana
description: PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package.
version: 0.22.5
version: 0.22.6-dev
repository: https://github.com/dart-lang/pana
topics:
- tool
Expand Down

0 comments on commit 7fb0d99

Please sign in to comment.