OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/env python |
| 2 # Copyright 2016 the V8 project authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 import os |
| 7 import tarfile |
| 8 |
| 9 os.chdir(os.path.dirname(os.path.abspath(__file__))) |
| 10 |
| 11 for root, dirs, files in os.walk("data"): |
| 12 dirs[:] = [d for d in dirs if not d.endswith('.git')] |
| 13 for name in files: |
| 14 # These names are for gyp, which expects slashes on all platforms. |
| 15 print('/'.join(root.split(os.sep) + [name])) |
OLD | NEW |