Ver Fonte

generate output directory

Simon Krajewski há 11 anos atrás
pai
commit
6256e8b695
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      genpy.ml

+ 1 - 0
genpy.ml

@@ -1879,6 +1879,7 @@ module Generator = struct
 		gen_static_inits ctx;
 		gen_main ctx;
 
+		mkdir_from_path com.file;
 		let ch = open_out_bin com.file in
 		output_string ch (Buffer.contents ctx.buf);
 		close_out ch