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

Unified Diff: tools/publish_all_pkgs.py

Issue 23547005: Add async_helper package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 4 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
« no previous file with comments | « pkg/async_helper/pubspec.yaml ('k') | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/publish_all_pkgs.py
diff --git a/tools/publish_all_pkgs.py b/tools/publish_all_pkgs.py
index 81aab97e4d44944103b68dfa5dae594a01c90255..a43f57b16136ce6bb9d5bc254ed6450f1894a060 100644
--- a/tools/publish_all_pkgs.py
+++ b/tools/publish_all_pkgs.py
@@ -17,11 +17,13 @@ import os.path
import subprocess
import sys
+BLACK_LISTED_DIRECTORIES = ['.svn', 'async_helper', 'expect', 'third_party'];
+
def Main(argv):
for pkgdir in ['pkg', 'pkg/third_party']:
for name in os.listdir(pkgdir):
if os.path.isdir(os.path.join(pkgdir, name)):
- if (name != '.svn' and name != 'expect' and name != 'third_party'):
+ if name not in BLACK_LISTED_DIRECTORIES:
pkgs_to_publish.append(os.path.join(pkgdir, name))
for pkg in pkgs_to_publish:
« no previous file with comments | « pkg/async_helper/pubspec.yaml ('k') | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698