Skip to content

Commit 098a3b0

Browse files
authored
Add new generated file to grind check-build and rebuild. (#1753)
* Add new generated file to grind check-build and rebuild package docs * Back to 0.20.4
1 parent d038901 commit 098a3b0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,4 +499,4 @@ packages:
499499
source: hosted
500500
version: "2.1.15"
501501
sdks:
502-
dart: ">=2.0.0-dev.68 <3.0.0"
502+
dart: ">=2.0.0 <3.0.0"

tool/grind.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,10 @@ build() async {
700700
}
701701

702702
/// Paths in this list are relative to lib/.
703-
final _generated_files_list = <String>['src/html/resources.g.dart']
704-
.map((s) => pathLib.joinAll(pathLib.posix.split(s)));
703+
final _generated_files_list = <String>[
704+
'src/html/resources.g.dart',
705+
'src/version.dart',
706+
].map((s) => pathLib.joinAll(pathLib.posix.split(s)));
705707

706708
@Task('Verify generated files are up to date')
707709
checkBuild() async {

0 commit comments

Comments
 (0)