Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: mojo/dart/packages/mojom/lib/src/commands/single.dart

Issue 1441033002: Move mojo and mojom from mojo/public/dart to mojo/dart/packages (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.single; 5 library mojom.command.single;
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 _validateArguments() async { 45 _validateArguments() async {
46 await validateArguments(); 46 await validateArguments();
47 47
48 _package = new Directory(makeAbsolute(argResults['package'])); 48 _package = new Directory(makeAbsolute(argResults['package']));
49 log.info("package = $_package"); 49 log.info("package = $_package");
50 if (!(await _package.exists())) { 50 if (!(await _package.exists())) {
51 throw new CommandLineError("The package $_package must exist"); 51 throw new CommandLineError("The package $_package must exist");
52 } 52 }
53 } 53 }
54 } 54 }
OLDNEW
« no previous file with comments | « mojo/dart/packages/mojom/lib/src/commands/mojom_command.dart ('k') | mojo/dart/packages/mojom/lib/src/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698