The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
393 B

#!/usr/bin/env python3
import argparse
import textwrap
def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument('output')
args = parser.parse_args()
with open(args.output, 'w') as f:
f.write(textwrap.dedent('''\
pub fn bar() -> () {
println!("Hello, World!");
}'''))
if __name__ == "__main__":
main()