xmake: Add back 'extract_dir' and add au.hash (#165)

This commit is contained in:
Hsiao-nan Cheung 2019-06-21 00:06:59 +08:00 committed by GitHub
parent c5601d761c
commit f0fd00077d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
"hash": "2c48fb07441593a474e157b43a3bf63a7130bbdd6b78219b396b511ba9ca43ca" "hash": "2c48fb07441593a474e157b43a3bf63a7130bbdd6b78219b396b511ba9ca43ca"
} }
}, },
"extract_dir": "xmake",
"bin": "xmake.exe", "bin": "xmake.exe",
"checkver": { "checkver": {
"github": "https://github.com/xmake-io/xmake" "github": "https://github.com/xmake-io/xmake"
@ -20,10 +21,18 @@
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win64.zip" "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win64.zip",
"hash": {
"url": "$baseurl/xmake-v$version.win64.sha256",
"regex": "$sha256.*?zip"
}
}, },
"32bit": { "32bit": {
"url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win32.zip" "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win32.zip",
"hash": {
"url": "$baseurl/xmake-v$version.win32.sha256",
"regex": "$sha256.*?zip"
}
} }
} }
} }