浏览代码

generate .zip from dox

Simon Krajewski 11 年之前
父节点
当前提交
aaf3ee469a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/RunTravis.hx

+ 2 - 2
tests/RunTravis.hx

@@ -34,7 +34,7 @@ class RunTravis {
 		for (t in 0...5) {
 		for (t in 0...5) {
 			runCommand("sleep", ["2"]);
 			runCommand("sleep", ["2"]);
 			if (FileSystem.exists(flashlogPath))
 			if (FileSystem.exists(flashlogPath))
-				break;				
+				break;
 		}
 		}
 		if (!FileSystem.exists(flashlogPath)) {
 		if (!FileSystem.exists(flashlogPath)) {
 			Sys.println('$flashlogPath not found.');
 			Sys.println('$flashlogPath not found.');
@@ -81,7 +81,7 @@ class RunTravis {
 				Sys.setCwd(Sys.getEnv("HOME") + "/haxelib/dox/git/");
 				Sys.setCwd(Sys.getEnv("HOME") + "/haxelib/dox/git/");
 				runCommand("haxe", ["run.hxml"]);
 				runCommand("haxe", ["run.hxml"]);
 				runCommand("haxe", ["gen.hxml"]);
 				runCommand("haxe", ["gen.hxml"]);
-				runCommand("haxe", ["std.hxml"]);
+				runCommand("haxelib", ["run", "dox", "-o", "bin/api.zip", "-i", "bin/xml"]);
 			case "neko":
 			case "neko":
 				runCommand("haxe", ["compile-neko.hxml"]);
 				runCommand("haxe", ["compile-neko.hxml"]);
 				runCommand("neko", ["unit.n"]);
 				runCommand("neko", ["unit.n"]);