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

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: Ignore sky/ rather than pubspec.lock 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
« .gitignore ('K') | « 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 602e9c0b092502953233dde972114b06a69d029f..50f4fe7987eae03c3412f55f5da245a6539e3aea 100644
--- a/DEPS
+++ b/DEPS
@@ -300,6 +300,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/',
tonyg 2015/04/10 13:39:20 Kind of feels like there should be a bug to remove
blundell 2015/04/13 14:23:29 I'm not sure what the long-term vision is there; g
+ ],
+ },
{
# Ensure that we don't accidentally reference any .pyc files whose
# corresponding .py files have already been deleted.
« .gitignore ('K') | « BUILD.gn ('k') | mojo/dart/apptest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698