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 String jsFileTemplate; | |
8 | |
9 DartTask.checked(String dartFileTemplate) { | |
10 init(config.dartPath, | |
11 [ '--enable_asserts', '--enable_typechecks', dartFileTemplate ], | |
12 config.timeout); | |
13 } | |
14 | |
15 DartTask(String dartFileTemplate) { | |
16 init(config.dartPath, | |
17 [ dartFileTemplate ], | |
Siggi Cherem (dart-lang)
2012/08/30 16:46:40
same here and throughout the cl, no spaces, I beli
gram
2012/08/30 17:34:05
Done.
| |
18 config.timeout); | |
19 } | |
20 } | |
OLD | NEW |