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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/lish.dart

Issue 599303002: Don't use .gitignore when determining what to build/serve/run. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use .gitignore in dartdoc validator. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/lib/src/command/lish.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/lish.dart b/sdk/lib/_internal/pub_generated/lib/src/command/lish.dart
index 49deff8f7d6fc87dae38faed24b55a86261441db..9ee1192b98868da13e8a13726a7ead3ff83f05e7 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/command/lish.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/lish.dart
@@ -96,7 +96,7 @@ class LishCommand extends PubCommand {
'A private package cannot be published.\n'
'You can enable this by changing the "publish_to" field in your ' 'pubspec.');
}
- var files = entrypoint.root.listFiles();
+ var files = entrypoint.root.listFiles(useGitIgnore: true);
log.fine('Archiving and publishing ${entrypoint.root}.');
var package = entrypoint.root;
log.message(
« no previous file with comments | « sdk/lib/_internal/pub/test/validator/compiled_dartdoc_test.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/package.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698