aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/53 install script/customtarget.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/53 install script/customtarget.py')
-rwxr-xr-xmeson/test cases/common/53 install script/customtarget.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/meson/test cases/common/53 install script/customtarget.py b/meson/test cases/common/53 install script/customtarget.py
new file mode 100755
index 000000000..e28373a39
--- /dev/null
+++ b/meson/test cases/common/53 install script/customtarget.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python3
+
+import argparse
+import os
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser()
+ parser.add_argument('dirname')
+ args = parser.parse_args()
+
+ with open(os.path.join(args.dirname, '1.txt'), 'w') as f:
+ f.write('')
+ with open(os.path.join(args.dirname, '2.txt'), 'w') as f:
+ f.write('')
+
+
+if __name__ == "__main__":
+ main()