☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
71 ctarget dependency
/
gen2.py
☽
☼
test cases/common/71 ctarget dependency/gen2.py
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import sys, os
4
from glob import glob
5
6
files = glob(os.path.join(sys.argv[1], '*.tmp'))
7
assert len(files) == 1
8
9
with open(files[0]) as ifile, open(sys.argv[2], 'w', encoding='utf-8') as ofile:
10
ofile.write(ifile.read())