Skip to content

Commit

Permalink
Merge branch 'master' into github-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jun 16, 2024
2 parents 5137631 + e1798e6 commit 7b97f78
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions test/std/Test.hx
Original file line number Diff line number Diff line change
Expand Up @@ -420,17 +420,30 @@ class Test

}

public static function testHost()
public static function testLocalhost()
{
log("Test Host");
try
{
var localhost = Host.localhost();
v('localhost :$localhost');
var host = new Host(localhost);
if (localhost == null || localhost.length == 0)
return error("null or empty localhost");
return ok();
}
catch(e:Dynamic)
{
return error("Unexpected error in testHost: " + e);
}
}

public static function testHost()
{
log("Test Host");
try
{
var host = new Host("github.com");
v('host :$host');
// var reverse = host.reverse();
// v('reverse :$reverse');
return ok();
}
catch(e:Dynamic)
Expand Down
Empty file added tools/azure-pipelines/build.yml
Empty file.
2 changes: 1 addition & 1 deletion tools/hxcpp/PathManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class PathManager

try
{
output = ProcessManager.runProcess(Sys.getEnv ("HAXEPATH"), "haxelib", [ "path", name ], true, false);
output = ProcessManager.runProcess("", "haxelib", [ "path", name ], true, false);
}
catch (e:Dynamic) {}

Expand Down

0 comments on commit 7b97f78

Please sign in to comment.