OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 """Top-level presubmit script for Dart. |
| 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 8 for more details about the presubmit API built into gcl. |
| 9 """ |
| 10 |
| 11 def CheckChangeOnCommit(input_api, output_api): |
| 12 results = [] |
| 13 status_check = input_api.canned_checks.CheckTreeIsOpen( |
| 14 input_api, |
| 15 output_api, |
| 16 json_url='http://dart-status.appspot.com/current?format=json') |
| 17 results.extend(status_check) |
| 18 return results |
OLD | NEW |