File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 0.1.13
2+
3+ * Fixed execution on Windows with certain setups where Dart didn't allow
4+ backslashes in ` import ` statements.
5+
16## 0.1.12
27
38* Fixed assert failure with creating a PlatformException as a result of an
Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ Future<void> main(List<String> args) async {
1818 final String rawInputPath = opts.input;
1919 final String absInputPath = File (rawInputPath).absolute.path;
2020 final String relInputPath = path.relative (absInputPath, from: tempDir.path);
21- importLine = 'import \' $relInputPath \' ;\n ' ;
21+
22+ final List <String > relInputComponents = path.split (relInputPath);
23+ final path.Context context = path.Context (style: path.Style .posix);
24+ final String posixRelInputPath = context.joinAll (relInputComponents);
25+ importLine = 'import \' $posixRelInputPath \' ;\n ' ;
2226 }
2327 final String code = """$importLine
2428import 'dart:io';
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import 'dart:mirrors';
88import 'ast.dart' ;
99
1010/// The current version of pigeon.
11- const String pigeonVersion = '0.1.12 ' ;
11+ const String pigeonVersion = '0.1.13 ' ;
1212
1313/// Read all the content from [stdin] to a String.
1414String readStdin () {
Original file line number Diff line number Diff line change 11name : pigeon
2- version : 0.1.12
2+ version : 0.1.13
33description : Code generator tool to make communication between Flutter and the host platform type-safe and easier.
44homepage : https://github.com/flutter/packages/tree/master/packages/pigeon
55dependencies :
You can’t perform that action at this time.
0 commit comments