☰
Debian Codegraph
@
1:2.4.6+ds-5
1:2.4.6+ds-4
1:2.4.6+ds-2
1:2.4.6+ds-1
/
/
vendored-meson
/
meson
/
test cases
/
common
/
105 generatorcustom
/
catter.py
☽
☼
vendored-meson/meson/test cases/common/105 generatorcustom/catter.py
code
plain
raw
Apache-2
2012-2023, The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import sys
4
5
output = sys.argv[-1]
6
inputs = sys.argv[1:-1]
7
8
with open(output, 'w') as ofile:
9
ofile.write('#pragma once\n')
10
for i in inputs:
11
with open(i) as ifile:
12
content = ifile.read()
13
ofile.write(content)
14
ofile.write('\n')