OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 """ | 7 """ |
8 Pub buildbot steps. | 8 Pub buildbot steps. |
9 | 9 |
10 Runs tests for pub and the pub packages that are hosted in the main Dart repo. | 10 Runs tests for pub and the pub packages that are hosted in the main Dart repo. |
(...skipping 29 matching lines...) Expand all Loading... |
40 'api_docs'] | 40 'api_docs'] |
41 print 'Generating API Docs: %s' % (' '.join(args)) | 41 print 'Generating API Docs: %s' % (' '.join(args)) |
42 bot.RunProcess(args) | 42 bot.RunProcess(args) |
43 | 43 |
44 with bot.BuildStep('Build package-root'): | 44 with bot.BuildStep('Build package-root'): |
45 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, | 45 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, |
46 'packages'] | 46 'packages'] |
47 print 'Building package-root: %s' % (' '.join(args)) | 47 print 'Building package-root: %s' % (' '.join(args)) |
48 bot.RunProcess(args) | 48 bot.RunProcess(args) |
49 | 49 |
50 bot.RunTest('pub', build_info, ['pub', 'pkg']) | 50 bot.RunTest('pub', build_info, ['pub', 'pkg', 'dartdoc']) |
51 | 51 |
52 | 52 |
53 if __name__ == '__main__': | 53 if __name__ == '__main__': |
54 bot.RunBot(PubConfig, PubSteps) | 54 bot.RunBot(PubConfig, PubSteps) |
OLD | NEW |