Jvm.hx 726 B

123456789101112131415161718192021222324
  1. package runci.targets;
  2. import runci.System.*;
  3. import runci.Config.*;
  4. class Jvm {
  5. static public function run(args:Array<String>) {
  6. runCommand("haxe", ["compile-jvm.hxml"].concat(args));
  7. runCommand("java", ["-jar", "bin/jvm/TestMain-Debug.jar"]);
  8. runCommand("haxe", ["compile-jvm.hxml","-dce","no"].concat(args));
  9. runCommand("java", ["-jar", "bin/jvm/TestMain-Debug.jar"]);
  10. changeDirectory(sysDir);
  11. runCommand("haxe", ["compile-jvm.hxml"]);
  12. runCommand("java", ["-jar", "bin/jvm/Main-Debug.jar"]);
  13. changeDirectory(threadsDir);
  14. runCommand("haxe", ["build.hxml", "-java", "export/jvm", "-D", "jvm"]);
  15. if (systemName != "Windows") { // #8154
  16. runCommand("java", ["-jar", "export/jvm/Main.jar"]);
  17. }
  18. }
  19. }