| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 # for details. All rights reserved. Use of this source code is governed by a | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #!/usr/bin/env python | |
| 6 | |
| 7 import sys | |
| 8 import os | |
| 9 from os import path | |
| 10 | |
| 11 def main(): | |
| 12 client = path.normpath(path.join(path.dirname(sys.argv[0]), os.pardir)) | |
| 13 compiler = path.normpath(path.join(client, os.pardir, 'compiler')) | |
| 14 locations = { | |
| 15 'client': client, | |
| 16 'compiler': compiler, | |
| 17 } | |
| 18 | |
| 19 exit_code = os.system("python %(compiler)s/generate_source_list.py " | |
| 20 "dart_server %(client)s/dart_server " | |
| 21 "tools/dartserver/java" % locations) | |
| 22 return exit_code | |
| 23 | |
| 24 if __name__ == '__main__': | |
| 25 sys.exit(main()) | |
| OLD | NEW |