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

Side by Side Diff: tools/bots/src-tarball.py

Issue 159003002: Add script to build Debian packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed additional review comments Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/create_debian_packages.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « no previous file | tools/create_debian_packages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698