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

Unified Diff: frog/scripts/list_frog_files.py

Issue 9379015: Fix issue 1615 . Because frog doesn't really produce an artifact, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/scripts/list_frog_files.py
===================================================================
--- frog/scripts/list_frog_files.py (revision 4136)
+++ frog/scripts/list_frog_files.py (working copy)
@@ -10,7 +10,11 @@
import sys
def main(argv):
- for root, directories, files in os.walk(os.curdir):
+ if len(argv) == 1:
+ dir = os.curdir
+ else:
+ dir = argv[1]
+ for root, directories, files in os.walk(dir):
if root == os.curdir:
directories[0:] = ['leg', 'lib',
os.path.join('..', 'client', 'dom', 'frog'),
« no previous file with comments | « dart.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698