OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
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 file. | |
4 | |
5 /** A pipeline task for running the Dart VM. */ | |
6 class DartTask extends RunProcessTask { | |
7 | |
8 DartTask.checked(String dartFileTemplate) { | |
9 init(config.dartPath, | |
10 ['--enable_asserts', '--enable_type_checks', dartFileTemplate], | |
11 config.timeout); | |
12 } | |
13 | |
14 DartTask(String dartFileTemplate) { | |
15 init(config.dartPath, [dartFileTemplate], config.timeout); | |
16 } | |
17 } | |
OLD | NEW |