Add Hashlink version 1.8.0 and haxe-dev (#3048)

To use hashlink we need to have the preview version which is an in-development version of haxe. Hashlink is a VM that works with haxe and can also be used for native compilation of apps.
This commit is contained in:
Jean-Sébastien Nadeau 2019-02-01 12:23:02 -05:00 committed by Richard Kuhnt
parent 2142f139e6
commit ca31667ae2
2 changed files with 66 additions and 0 deletions

21
hashlink.json Normal file
View File

@ -0,0 +1,21 @@
{
"homepage": "https://hashlink.haxe.org/",
"description": "HashLink is a virtual machine for Haxe",
"version": "1.8.0",
"license": "MIT",
"url": "https://github.com/HaxeFoundation/hashlink/releases/download/1.8/hl-1.8.0-win.zip",
"hash": "f20b4f5619cdcd56616185cfd22c1294f44e0f3e76bed4c63ac47344b82cb9da",
"extract_dir": "hl-1.8.0-win",
"bin": "hl.exe",
"env_set": {
"HASHLINKPATH": "$dir"
},
"checkver": {
"github": "https://github.com/HaxeFoundation/hashlink/",
"regex": "([\\d\\.]+)-win"
},
"autoupdate": {
"url": "https://github.com/HaxeFoundation/hashlink/releases/download/$majorVersion.$minorVersion/hl-$version-win.zip",
"extract_dir": "hl-$version-win"
}
}

45
haxe-dev.json Normal file
View File

@ -0,0 +1,45 @@
{
"homepage": "https://haxe.org/",
"description": "Pre-release version of Haxe, for a stable version use haxe. Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.",
"version": "4.0.0-preview.5",
"license": "GPL-2.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-preview.5/haxe-4.0.0-preview.5-win64.zip",
"hash": "15409fce0a1d6a43c3ff5c24d1c39e9e56de63f06bb0a3d1a6641139a26aed26"
},
"32bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-preview.5/haxe-4.0.0-preview.5-win.zip",
"hash": "fa632a480b4cc7a4cdb868d84bcf0d3b4af7e8bdcd91abaedd8e25ecc78ac03d"
}
},
"bin": [
"haxe.exe",
"haxelib.exe"
],
"env_set": {
"HAXEPATH": "$dir"
},
"env_add_path": "$dir",
"persist": "lib",
"depends": "neko",
"pre_install": [
"if(Test-Path \"$dir\\haxe_*\") {",
" Move-Item -Force \"$dir\\haxe_*\\*\" \"$dir\"",
"}"
],
"checkver": {
"url": "https://github.com/HaxeFoundation/haxe/releases",
"re": "([\\d.]+-preview[\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/$version/haxe-$version-win64.zip"
},
"32bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/$version/haxe-$version-win.zip"
}
}
}
}