OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 3 # Copyright (c) 2015, the Dartino 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 | 7 |
8 # Script to build a tarball of the Fletch source. | 8 # Script to build a tarball of the Fletch source. |
9 # | 9 # |
10 # The tarball includes all the source needed to build Fletch. This | 10 # The tarball includes all the source needed to build Fletch. This |
11 # includes the fletch repository checkout, the source in third_party | 11 # includes the fletch repository checkout, the source in third_party |
12 # and the Dart repository checkout. As part of creating the tarball | 12 # and the Dart repository checkout. As part of creating the tarball |
13 # the files used to build Debian packages are copied to a top-level | 13 # the files used to build Debian packages are copied to a top-level |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 tar_filename = options.tar_filename | 178 tar_filename = options.tar_filename |
179 if not tar_filename: | 179 if not tar_filename: |
180 tar_filename = join(FLETCH_DIR, | 180 tar_filename = join(FLETCH_DIR, |
181 utils.GetBuildDir(HOST_OS), | 181 utils.GetBuildDir(HOST_OS), |
182 'fletch-%s.tar.gz' % utils.GetVersion()) | 182 'fletch-%s.tar.gz' % utils.GetVersion()) |
183 | 183 |
184 CreateTarball(tar_filename) | 184 CreateTarball(tar_filename) |
185 | 185 |
186 if __name__ == '__main__': | 186 if __name__ == '__main__': |
187 sys.exit(Main()) | 187 sys.exit(Main()) |
OLD | NEW |