OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library mojom.command; | 5 library mojom.command; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 | 9 |
10 import 'package:args/args.dart'; | 10 import 'package:args/args.dart'; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 String toString() { | 69 String toString() { |
70 String dart = makeRelative(Platform.executable); | 70 String dart = makeRelative(Platform.executable); |
71 String script = makeRelative(path.fromUri(Platform.script)); | 71 String script = makeRelative(path.fromUri(Platform.script)); |
72 String globals = globalResults.arguments.join(" "); | 72 String globals = globalResults.arguments.join(" "); |
73 return "$dart $script $globals"; | 73 return "$dart $script $globals"; |
74 } | 74 } |
75 } | 75 } |
OLD | NEW |