Procházet zdrojové kódy

make sure the xml output directory exists too

Simon Krajewski před 11 roky
rodič
revize
8fc266d354
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      main.ml

+ 1 - 0
main.ml

@@ -1482,6 +1482,7 @@ try
 			Genxml.generate_hx com
 		| Some file ->
 			Common.log com ("Generating xml : " ^ file);
+			Common.mkdir_from_path file;
 			Genxml.generate com file);
 		if com.platform = Flash || com.platform = Cpp then List.iter (Codegen.fix_overrides com) com.types;
 		if Common.defined com Define.Dump then Codegen.dump_types com;