Sfoglia il codice sorgente

generate output directory

Simon Krajewski 11 anni fa
parent
commit
6256e8b695
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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