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

Unified Diff: DEPS

Issue 489693002: [telemetry] Move stale .pyc check from Python import to gclient hook. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to tools/ Created 6 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 | « no previous file | tools/remove_stale_pyc_files.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DEPS
diff --git a/DEPS b/DEPS
index a6454087d70938a4800dd03df9df010ba16a223b..6f66359f096cc597427a449e43d3423b2fa686eb 100644
--- a/DEPS
+++ b/DEPS
@@ -832,4 +832,15 @@ hooks = [
"--running-as-hook",
],
},
+ {
+ # Ensure that we don't accidentally reference any .pyc files whose
+ # corresponding .py files have already been deleted.
+ "name": "remove_stale_pyc_files",
+ "pattern": "src/tools/.\\.py",
Dirk Pranke 2014/08/20 01:02:23 I think you probably want "src/tools/.*\\.py" here
+ "action": [
+ "python",
+ "src/tools/remove_stale_pyc_files.py",
+ "src/tools",
+ ],
+ },
]
« no previous file with comments | « no previous file | tools/remove_stale_pyc_files.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698