| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2014, 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 Buildbot steps for src tarball generation and debian package generation | 8 Buildbot steps for src tarball generation and debian package generation |
| 9 | 9 |
| 10 Package up the src of the dart repo and create a debian package. | 10 Package up the src of the dart repo and create a debian package. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 if not src_pattern: | 29 if not src_pattern: |
| 30 return None | 30 return None |
| 31 | 31 |
| 32 return bot.BuildInfo('none', 'none', 'release', 'linux') | 32 return bot.BuildInfo('none', 'none', 'release', 'linux') |
| 33 | 33 |
| 34 def SrcSteps(build_info): | 34 def SrcSteps(build_info): |
| 35 with bot.BuildStep('Create src tarball'): | 35 with bot.BuildStep('Create src tarball'): |
| 36 args = [sys.executable, './tools/create_tarball.py'] | 36 args = [sys.executable, './tools/create_tarball.py'] |
| 37 print 'Building src tarball' | 37 print 'Building src tarball' |
| 38 bot.RunProcess(args) | 38 bot.RunProcess(args) |
| 39 print 'Building Debian packages' |
| 40 args = [sys.executable, './tools/create_debian_packages.py'] |
| 41 bot.RunProcess(args) |
| 39 | 42 |
| 40 if __name__ == '__main__': | 43 if __name__ == '__main__': |
| 41 # We pass in None for build_step to avoid building the sdk. | 44 # We pass in None for build_step to avoid building the sdk. |
| 42 bot.RunBot(SrcConfig, SrcSteps, build_step=None) | 45 bot.RunBot(SrcConfig, SrcSteps, build_step=None) |
| OLD | NEW |