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

Unified Diff: DEPS

Issue 1063233004: Teach dart_package to understand the packages/ subdirectory (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to review Created 5 years, 8 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: DEPS
diff --git a/DEPS b/DEPS
index 602e9c0b092502953233dde972114b06a69d029f..f0d0530fe1fd2bba17d193d223317741d72543ec 100644
--- a/DEPS
+++ b/DEPS
@@ -300,6 +300,17 @@ hooks = [
'--tools-directory', '../../../tools',
],
},
+ # Run "pub get" on any directories with checked-in pubspec.yaml files.
+ {
+ 'name': 'run_dart_pub_get',
+ 'pattern': '',
+ 'action': [ 'python',
+ 'src/mojo/public/tools/git/dart_pub_get.py',
+ '--repository-root', '../../../..',
+ '--dart-sdk-directory',
+ '../../../../third_party/dart-sdk/dart-sdk',
+ ],
+ },
{
# Ensure that we don't accidentally reference any .pyc files whose
# corresponding .py files have already been deleted.

Powered by Google App Engine
This is Rietveld 408576698