OLD | NEW |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.verbs.compile_verb; | 5 library dartino_compiler.verbs.compile_verb; |
6 | 6 |
7 import 'infrastructure.dart'; | 7 import 'infrastructure.dart'; |
8 | 8 |
9 import '../worker/developer.dart' as developer; | 9 import '../worker/developer.dart' as developer; |
10 | 10 |
11 import 'documentation.dart' show | 11 import 'documentation.dart' show |
12 compileDocumentation; | 12 compileDocumentation; |
13 | 13 |
14 const Action compileAction = const Action( | 14 const Action compileAction = const Action( |
15 compile, compileDocumentation, requiresSession: true, | 15 compile, compileDocumentation, requiresSession: true, |
(...skipping 27 matching lines...) Expand all Loading... |
43 return compileTask(script, base, analyzeOnly, fatalIncrementalFailures); | 43 return compileTask(script, base, analyzeOnly, fatalIncrementalFailures); |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 Future<int> compileTask( | 47 Future<int> compileTask( |
48 Uri script, Uri base, bool analyzeOnly, bool fatalIncrementalFailures) { | 48 Uri script, Uri base, bool analyzeOnly, bool fatalIncrementalFailures) { |
49 return developer.compile( | 49 return developer.compile( |
50 script, SessionState.current, base, analyzeOnly: analyzeOnly, | 50 script, SessionState.current, base, analyzeOnly: analyzeOnly, |
51 fatalIncrementalFailures: fatalIncrementalFailures); | 51 fatalIncrementalFailures: fatalIncrementalFailures); |
52 } | 52 } |
OLD | NEW |