| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 2 # Copyright (c) 2015, the Dartino 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 # This script is creating a self contained directory with all the tools, | 6 # This script is creating a self contained directory with all the tools, |
| 7 # libraries, packages and samples needed for running fletch. | 7 # libraries, packages and samples needed for running fletch. |
| 8 | 8 |
| 9 # This script assumes that the target arg has been build in the passed in | 9 # This script assumes that the target arg has been build in the passed in |
| 10 # --build_dir. It also assumes that out/ReleaseXARM/fletch-vm has been build. | 10 # --build_dir. It also assumes that out/ReleaseXARM/fletch-vm has been build. |
| 11 | 11 |
| 12 import optparse | 12 import optparse |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 CopySamples(sdk_temp) | 307 CopySamples(sdk_temp) |
| 308 CopyAdditionalFiles(sdk_temp) | 308 CopyAdditionalFiles(sdk_temp) |
| 309 if deb_package: | 309 if deb_package: |
| 310 CopyArmDebPackage(sdk_temp, deb_package) | 310 CopyArmDebPackage(sdk_temp, deb_package) |
| 311 sdk_dir = join(build_dir, 'fletch-sdk') | 311 sdk_dir = join(build_dir, 'fletch-sdk') |
| 312 EnsureDeleted(sdk_dir) | 312 EnsureDeleted(sdk_dir) |
| 313 copytree(sdk_temp, sdk_dir) | 313 copytree(sdk_temp, sdk_dir) |
| 314 | 314 |
| 315 if __name__ == '__main__': | 315 if __name__ == '__main__': |
| 316 sys.exit(Main()) | 316 sys.exit(Main()) |
| OLD | NEW |