Skip to content

Commit c57d49c

Browse files
authored
Bump to publish 3.0.0. (#1609)
Also fixed the format-self call in the grinder script which was still using the old CLI format.
1 parent 1de89eb commit c57d49c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 3.0.0-wip
1+
## 3.0.0
22

33
This is a large change. Under the hood, the formatter was almost completely
44
rewritten, with the codebase now containing both the old and new

lib/src/cli/formatter_options.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import 'show.dart';
1212
import 'summary.dart';
1313

1414
// Note: The following line of code is modified by tool/grind.dart.
15-
const dartStyleVersion = '2.3.7';
15+
const dartStyleVersion = '3.0.0';
1616

1717
/// Global options that affect how the formatter produces and uses its outputs.
1818
final class FormatterOptions {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_style
22
# Note: See tool/grind.dart for how to bump the version.
3-
version: 3.0.0-wip
3+
version: 3.0.0
44
description: >-
55
Opinionated, automatic Dart source code formatter.
66
Provides an API and a CLI tool.

tool/grind.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Future<void> validate() async {
2323
Analyzer.analyze('bin/format.dart', fatalWarnings: true);
2424

2525
// Format it.
26-
Dart.run('bin/format.dart', arguments: ['-w', '.']);
26+
Dart.run('bin/format.dart', arguments: ['.']);
2727
}
2828

2929
/// Gets ready to publish a new version of the package.

0 commit comments

Comments
 (0)