浏览代码

generate output directory

Simon Krajewski 11 年之前
父节点
当前提交
6256e8b695
共有 1 个文件被更改,包括 1 次插入0 次删除
  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