Créer le répertoire de destination si il n’existe pas
This commit is contained in:
parent
bb633a212c
commit
d41482375e
2
package
2
package
|
@ -74,6 +74,8 @@ if __name__ == "__main__":
|
||||||
# Verify project directory
|
# Verify project directory
|
||||||
project_dir = os.path.abspath(args.project_directory)
|
project_dir = os.path.abspath(args.project_directory)
|
||||||
output_dir = os.path.abspath(args.output)
|
output_dir = os.path.abspath(args.output)
|
||||||
|
if not os.path.exists(output_dir):
|
||||||
|
os.mkdir(output_dir)
|
||||||
|
|
||||||
# Load build profile
|
# Load build profile
|
||||||
profile = tamarin.load_profile(args.profile, debug=args.debug)
|
profile = tamarin.load_profile(args.profile, debug=args.debug)
|
||||||
|
|
Loading…
Reference in New Issue