Créer le répertoire de destination si il n’existe pas

This commit is contained in:
Benjamin Bohard 2022-08-02 16:54:31 +02:00
parent bb633a212c
commit d41482375e
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ if __name__ == "__main__":
# Verify project directory
project_dir = os.path.abspath(args.project_directory)
output_dir = os.path.abspath(args.output)
if not os.path.exists(output_dir):
os.mkdir(output_dir)
# Load build profile
profile = tamarin.load_profile(args.profile, debug=args.debug)