diff --git a/hashlink.json b/hashlink.json new file mode 100644 index 0000000000..41df8fda2c --- /dev/null +++ b/hashlink.json @@ -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" + } +} diff --git a/haxe-dev.json b/haxe-dev.json new file mode 100644 index 0000000000..da561383d1 --- /dev/null +++ b/haxe-dev.json @@ -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" + } + } + } +}