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

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: Rebase 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
« no previous file with comments | « BUILD.gn ('k') | mojo/dart/apptest/BUILD.gn » ('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 1b0a5a52d8be645d43b3ebedfc26b93b47a4f2d4..c69fbf1b7754c2b65fad365e04d66be100ac2b05 100644
--- a/DEPS
+++ b/DEPS
@@ -305,6 +305,20 @@ hooks = [
'--tools-directory', '../../../tools',
],
},
+ # Run "pub get" on any directories with checked-in pubspec.yaml files
+ # (excluding sky/, whose pubspec.yaml files are not intended for supporting
+ # building in-place in the repo).
+ {
+ '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',
+ '--dirs-to-ignore', 'sky/',
+ ],
+ },
{
# Ensure that we don't accidentally reference any .pyc files whose
# corresponding .py files have already been deleted.
« no previous file with comments | « BUILD.gn ('k') | mojo/dart/apptest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698