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

Side by Side Diff: tools/bots/dart_sdk.py

Issue 3012713002: Fix error in commit bae6ab5a7aafa6e66c1f929acf1f7668c5cc806d (Closed)
Patch Set: Created 3 years, 3 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
« no previous file with comments | « no previous file | no next file » | 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/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2015, 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 import os 7 import os
8 import os.path 8 import os.path
9 import shutil 9 import shutil
10 import sys 10 import sys
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 local_sha256 = bot_utils.CreateSha256ChecksumFile(local_path, 217 local_sha256 = bot_utils.CreateSha256ChecksumFile(local_path,
218 mangled_filename) 218 mangled_filename)
219 gsutil.upload(local_sha256, remote_path + '.sha256sum', public=True) 219 gsutil.upload(local_sha256, remote_path + '.sha256sum', public=True)
220 220
221 def Run(command, env=None): 221 def Run(command, env=None):
222 print "Running %s" % ' '.join(command) 222 print "Running %s" % ' '.join(command)
223 print "Environment %s" % env 223 print "Environment %s" % env
224 return bot.RunProcess(command, env=env) 224 return bot.RunProcess(command, env=env)
225 225
226 if __name__ == '__main__': 226 if __name__ == '__main__':
227 if len(sys.argv) > 1 and sys.argv[2] == 'api_docs': 227 if len(sys.argv) > 1 and sys.argv[1] == 'api_docs':
228 if BUILD_OS == 'linux': 228 if BUILD_OS == 'linux':
229 CreateUploadAPIDocs() 229 CreateUploadAPIDocs()
230 else: 230 else:
231 # We always clobber the bot, to make sure releases are build from scratch 231 # We always clobber the bot, to make sure releases are build from scratch
232 force = CHANNEL != bot_utils.Channel.BLEEDING_EDGE 232 force = CHANNEL != bot_utils.Channel.BLEEDING_EDGE
233 bot.Clobber(force=force) 233 bot.Clobber(force=force)
234 234
235 CreateUploadSDK() 235 CreateUploadSDK()
236 if BUILD_OS == 'linux': 236 if BUILD_OS == 'linux':
237 CreateUploadVersionFile() 237 CreateUploadVersionFile()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698