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

Unified Diff: utils/pub/validator/license.dart

Issue 11557008: Make pub publish more user friendly: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge in path changes. Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/validator/lib.dart ('k') | utils/pub/validator/name.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator/license.dart
diff --git a/utils/pub/validator/license.dart b/utils/pub/validator/license.dart
index 46a1c4087669fb179451ea76b70112d5184361ff..fcc6a49c2f273b12ef12f90fa18217ea61c987bc 100644
--- a/utils/pub/validator/license.dart
+++ b/utils/pub/validator/license.dart
@@ -20,9 +20,10 @@ class LicenseValidator extends Validator {
r"^([a-zA-Z0-9]+[-_])?(LICENSE|COPYING)(\..*)?$");
if (files.map(basename).some(licenseLike.hasMatch)) return;
- errors.add("Your package must have a COPYING or LICENSE file containing "
- "an open-source license. For more details, see "
- "http://pub.dartlang.org/doc/pub-lish.html.");
+ errors.add(
+ "You must have a COPYING or LICENSE file in the root directory.\n"
+ "An open-source license helps ensure people can legally use your "
+ "code.");
});
}
}
« no previous file with comments | « utils/pub/validator/lib.dart ('k') | utils/pub/validator/name.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698