mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 15:23:25 +08:00
[pigeon] added dart version annotations until pigeon is migrated (#243)
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## 0.1.15
|
||||
|
||||
* Added support for running in versions of Dart that support NNBD.
|
||||
|
||||
## 0.1.14
|
||||
|
||||
* [Windows] Fixed executing from drives other than C:.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright 2020 The Flutter Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.2
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:isolate';
|
||||
@ -34,6 +34,7 @@ Future<void> main(List<String> args) async {
|
||||
importLine = 'import \'$relInputPath\';\n';
|
||||
}
|
||||
final String code = """$importLine
|
||||
// @dart = 2.2
|
||||
import 'dart:io';
|
||||
import 'dart:isolate';
|
||||
import 'package:pigeon/pigeon_lib.dart';
|
||||
|
@ -8,7 +8,7 @@ import 'dart:mirrors';
|
||||
import 'ast.dart';
|
||||
|
||||
/// The current version of pigeon.
|
||||
const String pigeonVersion = '0.1.14';
|
||||
const String pigeonVersion = '0.1.15';
|
||||
|
||||
/// Read all the content from [stdin] to a String.
|
||||
String readStdin() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: pigeon
|
||||
version: 0.1.14
|
||||
version: 0.1.15
|
||||
description: Code generator tool to make communication between Flutter and the host platform type-safe and easier.
|
||||
homepage: https://github.com/flutter/packages/tree/master/packages/pigeon
|
||||
dependencies:
|
||||
|
Reference in New Issue
Block a user