What a Dart file imports, for the walk that proves no editor code is
reachable from a game's entry point: every import, export and
part, conditional imports' every branch too. A path that reaches a
ReleaseRules.forbidden library, or the project's own lib/editor/,
would ship the editor.
JustProject.editorReachableFrom (the ProjectGame extension, where
dart:io is) walks a project on disk with it. A check of the compiled
build (JustProject.checkReleaseBuild, ReleaseBuild) is the ground
truth; the walk is the fast one, for tests and before a build.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
dartUrisIn(
String source) → List< String> -
The Dart files
sourceimports, exports or names as a part (or as the library it is part of), as written:package:URIs and relative paths, conditional imports' every branch included, in order.dart:libraries and other schemes are left out.