haxe-dev/hashlink: fix hash & checkver (#3098)

* Adds haxe-preview version and Hashlink

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.

* Modified requests from @Ash258

* Added newline for tests

* Update haxe-dev  and add  support for releases candidate

* Updated hash for hashlink

* Added shorter regex as @Ash258 suggested
This commit is contained in:
Jean-Sébastien Nadeau 2019-02-08 21:40:07 -05:00 committed by Ross Smith II
parent 464e407936
commit cbc563e6f1
2 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
"version": "1.9.0", "version": "1.9.0",
"license": "MIT", "license": "MIT",
"url": "https://github.com/HaxeFoundation/hashlink/releases/download/1.9/hl-1.9.0-win.zip", "url": "https://github.com/HaxeFoundation/hashlink/releases/download/1.9/hl-1.9.0-win.zip",
"hash": "9ac9fe3a25ed98267951f55a31967f8d5c335381000426178a64a98e8200e112", "hash": "8a2f2960f0174e6585e685fcc6fb93839b2f01600be3f6327f13bf72b5363950",
"extract_dir": "hl-1.9.0-win", "extract_dir": "hl-1.9.0-win",
"bin": "hl.exe", "bin": "hl.exe",
"env_set": { "env_set": {

View File

@ -1,16 +1,16 @@
{ {
"homepage": "https://haxe.org/", "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.", "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", "version": "4.0.0-rc.1",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-preview.5/haxe-4.0.0-preview.5-win64.zip", "url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-rc.1/haxe-4.0.0-rc.1-win64.zip",
"hash": "15409fce0a1d6a43c3ff5c24d1c39e9e56de63f06bb0a3d1a6641139a26aed26" "hash": "ef533d35e628cf8bb28753ef25c242ecc439173bfb2abaddcad9eee690d0b9c0"
}, },
"32bit": { "32bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-preview.5/haxe-4.0.0-preview.5-win.zip", "url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-rc.1/haxe-4.0.0-rc.1-win.zip",
"hash": "fa632a480b4cc7a4cdb868d84bcf0d3b4af7e8bdcd91abaedd8e25ecc78ac03d" "hash": "5ab125971dc8696af30035dc5af44a68a2f956d53682ca4f4c021c30b09e87f5"
} }
}, },
"bin": [ "bin": [
@ -30,7 +30,7 @@
], ],
"checkver": { "checkver": {
"url": "https://github.com/HaxeFoundation/haxe/releases", "url": "https://github.com/HaxeFoundation/haxe/releases",
"re": "([\\d.]+-preview[\\d.]+)" "re": "([\\d\\.]+-(rc|preview)[\\d\\.]+)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {