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.
 
 
 
 
 
 

18 lines
324 B

#!/usr/bin/env python3
import argparse
import os
def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument('builddir')
args = parser.parse_args()
for _, _, files in os.walk(args.builddir):
if 'main-unique.rs' in files:
exit(1)
if __name__ == "__main__":
main()