OLD | NEW |
1 mojom | 1 mojom |
2 ==== | 2 ==== |
3 | 3 |
4 This package is a placeholder for generated mojom bindings. | 4 This package is a placeholder for generated mojom bindings. |
5 | 5 |
6 Generated Mojo bindings in other pub packages should be installed into this | 6 Generated Mojo bindings in other pub packages should be installed into this |
7 package by saying the following after `pub get`: | 7 package by saying the following after `pub get`: |
8 | 8 |
9 ``` | 9 ``` |
10 $ pub run mojom:generate | 10 $ dart -p packages packages/mojom/generate.dart |
11 ``` | 11 ``` |
12 If desired, additional directories holding .mojom.dart files can be specified; | 12 If desired, additional directories holding .mojom.dart files can be specified; |
13 their contents will be installed to this package as well: | 13 their contents will be installed to this package as well: |
14 | 14 |
15 ``` | 15 ``` |
16 $ pub run mojom:generate -a </path/to/mojom/dir> | 16 $ dart -p packages packages/mojom/generate.dart -a </path/to/mojom/dir> |
17 ``` | 17 ``` |
OLD | NEW |