haxe, neko: fix env path (#685)

This commit is contained in:
linsui 2020-01-07 12:30:02 +00:00 committed by Hsiao-nan Cheung
parent bbd3acad1d
commit 126d8ba4ba
3 changed files with 26 additions and 21 deletions

View File

@ -1,8 +1,12 @@
{
"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.",
"homepage": "https://haxe.org",
"description": "High-level, cross-platform, multi-paradigm programming language and compiler (pre-release version)",
"version": "4.0.0-rc.5",
"license": "GPL-2.0-or-later",
"license": {
"identifier": "MIT,Zlib,BSD-3-Clause,...",
"url": "https://github.com/HaxeFoundation/neko/blob/master/LICENSE"
},
"depends": "neko",
"architecture": {
"64bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-rc.5/haxe-4.0.0-rc.5-win64.zip",
@ -13,6 +17,10 @@
"hash": "3747f1e55a99023cfada42391a5b9c5ca218376d2b64077112ad1ec1eff834bc"
}
},
"pre_install": [
"Move-Item \"$dir\\haxe_*\\*\" \"$dir\"",
"Remove-Item \"$dir\\haxe_*\""
],
"bin": [
"haxe.exe",
"haxelib.exe"
@ -20,17 +28,11 @@
"env_set": {
"HAXEPATH": "$dir"
},
"env_add_path": "$dir",
"env_add_path": ".",
"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\\.]+-(rc|preview)[\\d\\.]+)"
"regex": "([\\d.]+-(rc|preview)[\\d.]+)"
},
"autoupdate": {
"architecture": {

View File

@ -1,11 +1,12 @@
{
"homepage": "https://haxe.org/",
"description": "High-level, cross-platform, multi-paradigm programming language and compiler.",
"homepage": "https://haxe.org",
"description": "High-level, cross-platform, multi-paradigm programming language and compiler",
"version": "4.0.5",
"license": {
"identifier": "MIT,Zlib,BSD-3-Clause,...",
"url": "https://github.com/HaxeFoundation/neko/blob/master/LICENSE"
},
"depends": "neko",
"architecture": {
"64bit": {
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.5/haxe-4.0.5-win64.zip",
@ -16,6 +17,10 @@
"hash": "72c6015616bfec77c74b6402318b5cca667ef0010077d7db5b0210fa529ca7eb"
}
},
"pre_install": [
"Move-Item \"$dir\\haxe_*\\*\" \"$dir\"",
"Remove-Item \"$dir\\haxe_*\""
],
"bin": [
"haxe.exe",
"haxelib.exe"
@ -23,14 +28,8 @@
"env_set": {
"HAXEPATH": "$dir"
},
"env_add_path": "$dir",
"env_add_path": ".",
"persist": "lib",
"depends": "neko",
"pre_install": [
"if(Test-Path \"$dir\\haxe_*\") {",
" Move-Item -Force \"$dir\\haxe_*\\*\" \"$dir\"",
"}"
],
"checkver": {
"github": "https://github.com/HaxeFoundation/haxe"
},

View File

@ -1,6 +1,6 @@
{
"homepage": "https://nekovm.org",
"description": "A high-level dynamically typed programming language.",
"description": "A high-level dynamically typed programming language",
"version": "2.3.0",
"license": "MIT",
"architecture": {
@ -21,6 +21,10 @@
"nekoml.exe",
"nekotools.exe"
],
"env_set": {
"NEKO_INSTPATH": "$dir"
},
"env_add_path": ".",
"checkver": {
"github": "https://github.com/HaxeFoundation/neko",
"regex": "neko-([\\d.]+)-win64"