aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/90 gen extra/srcgen3.py
blob: b7371143a59d3d2145686b8a7033b1152f6e382c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3

import sys
import argparse

parser = argparse.ArgumentParser()
parser.add_argument('input',
                    help='the input file')

options = parser.parse_args(sys.argv[1:])

with open(options.input) as f:
    content = f.read().strip()

print(content)