| Index: lib/src/options.dart
|
| diff --git a/lib/src/options.dart b/lib/src/options.dart
|
| index a4e54f75a4f8d4e9c7682f7069928dc3008869bb..5642296befec5b1f5cf1d38987e11f7110d020e0 100644
|
| --- a/lib/src/options.dart
|
| +++ b/lib/src/options.dart
|
| @@ -109,15 +109,20 @@ class CompilerOptions {
|
| /// package (if we can infer where that is located).
|
| final String runtimeDir;
|
|
|
| + /// The files to compile.
|
| final List<String> inputs;
|
|
|
| + /// The base directory for [inputs]. Module imports will be generated relative
|
| + /// to this directory.
|
| + final String inputBaseDir;
|
| +
|
| CompilerOptions({this.strongOptions: const StrongModeOptions(),
|
| this.sourceOptions: const SourceResolverOptions(),
|
| this.codegenOptions: const CodegenOptions(), this.checkSdk: false,
|
| this.dumpInfo: false, this.dumpInfoFile, this.useColors: true,
|
| this.help: false, this.logLevel: Level.SEVERE, this.serverMode: false,
|
| this.enableHashing: false, this.widget: true, this.host: 'localhost',
|
| - this.port: 8080, this.runtimeDir, this.inputs});
|
| + this.port: 8080, this.runtimeDir, this.inputs, this.inputBaseDir});
|
| }
|
|
|
| /// Parses options from the command-line
|
|
|