executables top-level property
A mutable map from executable names to those executables' paths in bin/
.
This defaults to a map derived from the pubspec's executables
field. It
may be modified, but the values must be paths to executable files in the
package.
Implementation
final executables = InternalConfigVariable.fn<Map<String, String>>(() {
var executables = rawPubspec['executables'] as Map<dynamic, dynamic>?;
return {
for (var entry in (executables ?? {}).entries)
entry.key as String: p.join('bin', '${entry.value}.dart')
};
}, freeze: (map) => Map.unmodifiable(map));