Why are we still supporting haxe 3?
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -185,11 +185,11 @@ jobs:
|
|||||||
!**/.gitignore
|
!**/.gitignore
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
# - uses: actions/upload-artifact@v2
|
||||||
with:
|
# with:
|
||||||
name: Windows-Hashlink
|
# name: Windows-Hashlink
|
||||||
path: |
|
# path: |
|
||||||
templates/bin/hl/Windows
|
# templates/bin/hl/Windows
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@@ -384,10 +384,10 @@ jobs:
|
|||||||
name: Windows64-NDLL
|
name: Windows64-NDLL
|
||||||
path: ndll/Windows64/
|
path: ndll/Windows64/
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
# - uses: actions/download-artifact@v2
|
||||||
with:
|
# with:
|
||||||
name: Windows-Hashlink
|
# name: Windows-Hashlink
|
||||||
path: templates/bin/hl/Windows
|
# path: templates/bin/hl/Windows
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -13,16 +13,19 @@ class HashlinkHelper
|
|||||||
public static function copyHashlink(project:HXProject, targetDirectory:String, applicationDirectory:String, executablePath:String, ?is64 = true)
|
public static function copyHashlink(project:HXProject, targetDirectory:String, applicationDirectory:String, executablePath:String, ?is64 = true)
|
||||||
{
|
{
|
||||||
var platform = project.target;
|
var platform = project.target;
|
||||||
var bindir = (switch project.target
|
var bindir = switch project.target
|
||||||
{
|
{
|
||||||
case LINUX: "Linux";
|
case LINUX: "Linux";
|
||||||
case MAC: "Mac";
|
case MAC: "Mac";
|
||||||
case WINDOWS: "Windows";
|
case WINDOWS: "Windows";
|
||||||
case var target:
|
default:
|
||||||
Log.error('Hashlink is not supported on $target (Supported: Windows, Mac and Linux)');
|
Log.error('Hashlink is not supported on ${project.target} (Supported: Windows, Mac and Linux)');
|
||||||
Sys.exit(1);
|
Sys.exit(1);
|
||||||
"";
|
"";
|
||||||
}) + (is64 ? "64" : "");
|
};
|
||||||
|
if(is64) {
|
||||||
|
bindir += "64";
|
||||||
|
}
|
||||||
|
|
||||||
var hlPath = ConfigHelper.getConfigValue("HL_PATH");
|
var hlPath = ConfigHelper.getConfigValue("HL_PATH");
|
||||||
if (hlPath == null)
|
if (hlPath == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user