| OLD | NEW |
| 1 #!/usr/local/evn python | 1 #!/usr/local/evn python |
| 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 # TODO(jimhug): THIS IS CURRENTLY BROKEN - NEEDS FIX BEFORE EXTENSIONS WORK! | 6 # TODO(jimhug): THIS IS CURRENTLY BROKEN - NEEDS FIX BEFORE EXTENSIONS WORK! |
| 7 | 7 |
| 8 # A script that copies dart/frog/lib under dart/frog/tip/lib/. This script | 8 # A script that copies dart/frog/lib under dart/frog/tip/lib/. This script |
| 9 # internally uses copy_dart to resolve relative paths used in the libraries and | 9 # internally uses copy_dart to resolve relative paths used in the libraries and |
| 10 # merge source files together. | 10 # merge source files together. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 return libs | 41 return libs |
| 42 | 42 |
| 43 def main(): | 43 def main(): |
| 44 os.chdir(LIB_PATH) | 44 os.chdir(LIB_PATH) |
| 45 libs = find_libraries(LIB_PATH) | 45 libs = find_libraries(LIB_PATH) |
| 46 return subprocess.call([sys.executable, | 46 return subprocess.call([sys.executable, |
| 47 '../../client/tools/copy_dart.py', os.path.join(TIP_PATH, 'lib')] + libs) | 47 '../../client/tools/copy_dart.py', os.path.join(TIP_PATH, 'lib')] + libs) |
| 48 | 48 |
| 49 if __name__ == '__main__': | 49 if __name__ == '__main__': |
| 50 sys.exit(main()) | 50 sys.exit(main()) |
| OLD | NEW |