Skip to content

Commit ff456a1

Browse files
authored
[pigeon] chore(readme): deprecated command of running pigeon (flutter#7761)
*Update outdated command in `README.md` of running [pigeon](https://pub.dev/packages/pigeon).* Same as flutter#7709
1 parent 700994c commit ff456a1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

packages/pigeon/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 22.4.2
2+
3+
* Updates `README.md` to replace the deprecated `flutter pub run pigeon` command with `dart run pigeon`.
4+
15
## 22.4.1
26

37
* [dart] Fixes bug where special handling of ints is ignored if no custom types are used.

packages/pigeon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ to the api to allow for multiple instances to be created and operate in parallel
8686
1) Make a ".dart" file outside of your "lib" directory for defining the
8787
communication interface.
8888
1) Run pigeon on your ".dart" file to generate the required Dart and
89-
host-language code: `flutter pub get` then `flutter pub run pigeon`
89+
host-language code: `flutter pub get` then `dart run pigeon`
9090
with suitable arguments. [Example](./example/README.md#Invocation).
9191
1) Add the generated Dart code to `./lib` for compilation.
9292
1) Implement the host-language code and add it to your build (see below).

packages/pigeon/lib/generator_tools.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import 'ast.dart';
1414
/// The current version of pigeon.
1515
///
1616
/// This must match the version in pubspec.yaml.
17-
const String pigeonVersion = '22.4.1';
17+
const String pigeonVersion = '22.4.2';
1818

1919
/// Read all the content from [stdin] to a String.
2020
String readStdin() {

packages/pigeon/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pigeon
22
description: Code generator tool to make communication between Flutter and the host platform type-safe and easier.
33
repository: https://github.com/flutter/packages/tree/main/packages/pigeon
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pigeon%22
5-
version: 22.4.1 # This must match the version in lib/generator_tools.dart
5+
version: 22.4.2 # This must match the version in lib/generator_tools.dart
66

77
environment:
88
sdk: ^3.3.0

0 commit comments

Comments
 (0)