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

Side by Side Diff: dart/tools/create_sdk.py

Issue 10164004: Remove frogsh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 8 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 | « dart/tests/utils/utils.status ('k') | dart/tools/testing/dart/test_options.dart » ('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/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2011, 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 # A script which will be invoked from gyp to create an SDK. 7 # A script which will be invoked from gyp to create an SDK.
8 # 8 #
9 # Usage: create_sdk.py sdk_directory 9 # Usage: create_sdk.py sdk_directory
10 # 10 #
11 # The SDK will be used either from the command-line or from the editor. 11 # The SDK will be used either from the command-line or from the editor.
12 # Top structure is 12 # Top structure is
13 # 13 #
14 # ..dart-sdk/ 14 # ..dart-sdk/
15 # ....bin/ 15 # ....bin/
16 # ......dart or dart.exe (executable) 16 # ......dart or dart.exe (executable)
17 # ......frogc.dart 17 # ......frogc.dart
18 # ......frogsh (coming later)
19 # ....lib/ 18 # ....lib/
20 # ......builtin/ 19 # ......builtin/
21 # ........builtin_runtime.dart 20 # ........builtin_runtime.dart
22 # ......io/ 21 # ......io/
23 # ........io_runtime.dart 22 # ........io_runtime.dart
24 # ........runtime/ 23 # ........runtime/
25 # ......core/ 24 # ......core/
26 # ........core_{frog, runtime}.dart 25 # ........core_{frog, runtime}.dart
27 # ........{frog, runtime}/ 26 # ........{frog, runtime}/
28 # ......coreimpl/ 27 # ......coreimpl/
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 revision = utils.GetSVNRevision() 428 revision = utils.GetSVNRevision()
430 if revision is not None: 429 if revision is not None:
431 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 430 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
432 f.write(revision + '\n') 431 f.write(revision + '\n')
433 f.close() 432 f.close()
434 433
435 move(SDK_tmp, SDK) 434 move(SDK_tmp, SDK)
436 435
437 if __name__ == '__main__': 436 if __name__ == '__main__':
438 sys.exit(Main(sys.argv)) 437 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « dart/tests/utils/utils.status ('k') | dart/tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698