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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/exit_codes.dart

Issue 141113011: Support directories other than "web" in pub build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/serve.dart ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Exit code constants. From [the BSD sysexits manpage][manpage]. Not every 5 /// Exit code constants. From [the BSD sysexits manpage][manpage]. Not every
6 /// constant here is used, even though some of the unused ones may be 6 /// constant here is used, even though some of the unused ones may be
7 /// appropriate for errors encountered by pub. 7 /// appropriate for errors encountered by pub.
8 /// 8 ///
9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits 9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits
10 library pub.exit_codes; 10 library pub.exit_codes;
11 11
12 /// The command completely successfully.
13 const SUCCESS = 0;
14
12 /// The command was used incorrectly. 15 /// The command was used incorrectly.
13 const USAGE = 64; 16 const USAGE = 64;
14 17
15 /// The input data was incorrect. 18 /// The input data was incorrect.
16 const DATA = 65; 19 const DATA = 65;
17 20
18 /// An input file did not exist or was unreadable. 21 /// An input file did not exist or was unreadable.
19 const NO_INPUT = 66; 22 const NO_INPUT = 66;
20 23
21 /// The user specified did not exist. 24 /// The user specified did not exist.
(...skipping 24 matching lines...) Expand all
46 const TEMP_FAIL = 75; 49 const TEMP_FAIL = 75;
47 50
48 /// The remote system returned something invalid during a protocol exchange. 51 /// The remote system returned something invalid during a protocol exchange.
49 const PROTOCOL = 76; 52 const PROTOCOL = 76;
50 53
51 /// The user did not have sufficient permissions. 54 /// The user did not have sufficient permissions.
52 const NO_PERM = 77; 55 const NO_PERM = 77;
53 56
54 /// Something was unconfigured or mis-configured. 57 /// Something was unconfigured or mis-configured.
55 const CONFIG = 78; 58 const CONFIG = 78;
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/serve.dart ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698