mojom 0.2.36

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 39

mojom

This package is a placeholder for generated mojom bindings. It contains a script lib/generate.dart.

This script generates Mojo bindings for a Dart package. Dart packages will be populated according to the DartPackage annotations in .mojom files. Any .mojom files that don't have an annotation will have their bindings generated into a local copy of the 'mojom' package. Annotations specifying the host package will cause generation into the host package's lib/ directory. For every other DartPackage annotation, the bindings will be generated into the named package, either into the global package cache if a package of that name has already been fetched, or into a local directory created under the current package's packages/ directory.

Generated Mojo bindings in other pub packages should be installed into this package by saying the following after pub get:

$ dart -p packages packages/mojom/generate.dart

If desired, additional directories holding .mojom.dart files can be specified; their contents will be installed to this package as well:

$ dart -p packages packages/mojom/generate.dart -a </path/to/mojom/dir>

Full options:

$ dart packages/mojom/generate.dart [-p package-root]
                                    [-a additional-dirs]
                                    [-m mojo-sdk]
                                    [-g]  # Generate from .mojom files
                                    [-d]  # Download from .mojoms files
                                    [-i]  # Ignore duplicates
                                    [-v]  # verbose
                                    [-f]  # Fake (dry) run

0.2.36

  • 101 changes: https://github.com/domokit/mojo/compare/44ea3ac...90cb16c

MOJO_SDK: 90cb16c48b85cba1be86b2556ce40fd71a52ec4a

0.2.35

  • 16 changes: https://github.com/domokit/mojo/compare/b0958e4...93737a9

MOJO_SDK: 93737a9cc4aa351037c03bc307a34b7a4036798e

0.2.34

  • 74 changes: https://github.com/domokit/mojo/compare/b96acd6...abd459d

MOJO_SDK: abd459df00c19687f5f4d5290033ddbbc33d6583

0.2.33

  • 50 changes: https://github.com/domokit/mojo/compare/e157db5...5cdbd5d

MOJO_SDK: 5cdbd5dc103fe6f715af3387b43b85436f4cd131

0.2.32

  • 48 changes: https://github.com/domokit/mojo/compare/3405784...850e9e4

MOJO_SDK: 850e9e46981b42869f5217119faeeb1444781210

0.2.31

  • 28 changes: https://github.com/domokit/mojo/compare/057a062...7615ee5

MOJO_SDK: 7615ee57250e71eb370a9ad808dbcfba2028eec8

0.2.30

  • 21 changes: https://github.com/domokit/mojo/compare/b3a693d...9fee976

MOJO_SDK: 9fee97604c5f232308a7d7af3373734b090c875c

0.2.29

  • 33 changes: https://github.com/domokit/mojo/compare/73d6208...ef526bb

MOJO_SDK: ef526bb5c9a4a340d0b98375a7721861f7b06b70

0.2.28

  • 128 changes: https://github.com/domokit/mojo/compare/98d9d77...c7c9fc0

MOJO_SDK: c7c9fc0bafaac2a6f357c1231fa40d3dc2310220

0.2.27

  • 39 changes: https://github.com/domokit/mojo/compare/ee6b938...e4d03ca

MOJO_SDK: e4d03ca48527afe3d6090c01b486e83d87bfa8af

0.2.26

  • 21 changes: https://github.com/domokit/mojo/compare/74fea6c...ccedda3

MOJO_SDK: ccedda3926e3d933890a98ea3e5f83446bddff19

0.2.25

  • 25 changes: https://github.com/domokit/mojo/compare/735911e...5bb113e

MOJO_SDK: 5bb113eb0d57135418e7a01613fe53e298e0b2d4

0.2.24

  • 58 changes: https://github.com/domokit/mojo/compare/b76db37...ccd4c03

MOJO_SDK: ccd4c03ab17fabd1cc8f6bfa9ecb7ef697070de8

0.2.23

  • 19 changes: https://github.com/domokit/mojo/compare/fb7d03d...368aeb0

MOJO_SDK: 368aeb022cfcfbff1d497cbe5f841d35de3d7beb

0.2.22

  • 35 changes: https://github.com/domokit/mojo/compare/2b11118...9da3423

MOJO_SDK: 9da3423f38d27e51da52bbc42afd60779d13db43

0.2.21

  • 12 changes: https://github.com/domokit/mojo/compare/1431b34...c1cebef

MOJO_SDK: c1cebef28defaba64d168b2cfd5a5425b27d9112

0.2.20

  • 80 changes: https://github.com/domokit/mojo/compare/1dd4e18...64f99bc

MOJO_SDK: 64f99bc8253b89c1a128a2ed64490f2f9216a41a

0.2.19

  • 2 changes: https://github.com/domokit/mojo/compare/c9e1513...eea814b

MOJO_SDK: eea814b3f09df6ca7e906544d7ebffeea3741c79

0.2.18

  • 41 changes: https://github.com/domokit/mojo/compare/ecb64e7...b3aaccc

MOJO_SDK: b3aaccc8d9408bc645ee633e7030c605f333be95

0.2.17

  • 2 changes: https://github.com/domokit/mojo/compare/00e94a8...2ae2bcc

MOJO_SDK: 2ae2bccb82f37947c69ab5d6e06c2d109690a394

0.2.16

  • 25 changes: https://github.com/domokit/mojo/compare/1d94b2f...ebf4352

MOJO_SDK: ebf435275996a69482ea342aa3ae881aecd6c90e

0.2.15

  • 52 changes: https://github.com/domokit/mojo/compare/c6806ae...3f50c60

MOJO_SDK: 3f50c60f8af5bb485f248ceea2407a59f09caad5

0.2.14

  • 55 changes: https://github.com/domokit/mojo/compare/e50fde8...bb76300

0.2.13

  • 57 changes: https://github.com/domokit/mojo/compare/1b56f2d...b56047c

0.2.12

  • 20 changes: https://github.com/domokit/mojo/compare/a05a1a6...d0070e0

0.2.11

  • 45 changes: https://github.com/domokit/mojo/compare/1bf8c18...5fb6ad9

0.2.10

  • 77 changes: https://github.com/domokit/mojo/compare/0f44252...3d67098

0.2.9

  • 62 changes: https://github.com/domokit/mojo/compare/1a0ec50...3616f6d

0.2.8

  • 5 changes: https://github.com/domokit/mojo/compare/fb583de...e4ac236

0.2.7

  • 0 changes: https://github.com/domokit/mojo/compare/b65b17a...b65b17a

0.2.6

  • 25 changes: https://github.com/domokit/mojo/compare/2918964...70dca39

0.2.5

  • 62 changes: https://github.com/domokit/mojo/compare/b917a90...3230048

0.2.4

  • 64 changes: https://github.com/domokit/mojo/compare/e590bb1...241ff8a

0.2.3

  • 17 changes: https://github.com/domokit/mojo/compare/8a9c751...63df3b7

0.2.2

  • 0 changes: https://github.com/domokit/mojo/compare/0ea08b0...0ea08b0

0.2.0

  • 92 changes: https://github.com/domokit/mojo/compare/c1d7bc9...0894421

0.1.0

  • 0 changes: https://github.com/domokit/mojo/compare/86d3dc4...86d3dc4

Declare dependency on mojo 0.1.x

0.0.25

  • 72 changes: https://github.com/domokit/mojo/compare/da2f238...3139c74

0.0.23

0.0.22

  • 59 changes: https://github.com/domokit/mojo/compare/c73419d...35de44e

0.0.18

  • 89 changes: https://github.com/domokit/mojo/compare/0fd4d06...c3119f6

0.0.17

  • 18 changes: https://github.com/domokit/mojo/compare/e7433cf...8879bfd

0.0.16

  • 27 changes: https://github.com/domokit/mojo/compare/e028733...e7433cf

0.0.15

  • 6 changes: https://github.com/domokit/mojo/compare/4df2d39...e028733

0.0.14

  • 138 changes: https://github.com/domokit/mojo/compare/850ac24...cf84c48

0.0.13

  • 70 changes: https://github.com/domokit/mojo/compare/889091e...136e0d4

0.0.12

  • 29 changes: https://github.com/domokit/mojo/compare/e25e3e2...432ce45

0.0.11

  • 12 changes: https://github.com/domokit/mojo/compare/7ba339b...fb1b726

0.0.10

  • 23 changes: https://github.com/domokit/mojo/compare/1b7bcee...be9dad7

0.0.8

  • Update version to match sky package. 0.0.6 and 0.0.7 were skipped.

0.0.5

  • First update after dart dev summit to match mojo and sky packages.

0.0.1

  • Initial placeholder package for generated mojom bindings.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  mojom: "^0.2.36"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
0.2.36 Aug 17, 2016 Go to the documentation of mojom 0.2.36 Download mojom 0.2.36 archive
0.2.35 Jul 1, 2016 Go to the documentation of mojom 0.2.35 Download mojom 0.2.35 archive
0.2.34 Jun 28, 2016 Go to the documentation of mojom 0.2.34 Download mojom 0.2.34 archive
0.2.33 Jun 13, 2016 Go to the documentation of mojom 0.2.33 Download mojom 0.2.33 archive
0.2.32 Jun 2, 2016 Go to the documentation of mojom 0.2.32 Download mojom 0.2.32 archive
0.2.31 May 23, 2016 Go to the documentation of mojom 0.2.31 Download mojom 0.2.31 archive
0.2.30 May 18, 2016 Go to the documentation of mojom 0.2.30 Download mojom 0.2.30 archive
0.2.29 May 13, 2016 Go to the documentation of mojom 0.2.29 Download mojom 0.2.29 archive
0.2.28 May 7, 2016 Go to the documentation of mojom 0.2.28 Download mojom 0.2.28 archive
0.2.27 Apr 7, 2016 Go to the documentation of mojom 0.2.27 Download mojom 0.2.27 archive

All 38 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
97 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
51 / 100
Overall score:
Weighted score of the above. [more]
39

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Suggestions

  • Fix lib/src/mojom_finder.dart.

    Strong-mode analysis of lib/src/mojom_finder.dart failed with the following error:

    line: 139 col: 37
    The method 'readAsString' isn't defined for the class 'FileSystemEntity'.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use mojom.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0
args >=0.13.0 <1.0.0 0.13.7 1.3.0
crypto >=0.9.0 <1.0.0 0.9.2+1 2.0.2+1
logging >=0.11.0 <1.0.0 0.11.3+1
mojo_sdk 0.2.32 0.2.32
path >=1.3.5 <2.0.0 1.5.1
yaml ^2.1.8 2.1.13
Transitive dependencies
charcode 1.1.1
collection 1.14.5
convert 1.1.1 2.0.1
mojo 0.4.28
mojo_services 0.4.35
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
unittest >=0.11.5+4 <0.12.0