Remove unnecessary type, mode and find definitions

This commit is contained in:
Richard Kuhnt 2017-04-14 18:01:22 +02:00
parent 0cf42462ca
commit e5f2c03b12
21 changed files with 20 additions and 62 deletions

View File

@ -10,7 +10,10 @@
"ANT_HOME": "$dir"
},
"suggest": {
"JDK": [ "extras/oraclejdk", "openjdk" ]
"JDK": [
"extras/oraclejdk",
"openjdk"
]
},
"checkver": {
"url": "https://ant.apache.org/bindownload.cgi",
@ -20,8 +23,6 @@
"url": "http://www-us.apache.org/dist/ant/binaries/apache-ant-$version-bin.zip",
"extract_dir": "apache-ant-$version",
"hash": {
"mode": "extract",
"type": "sha512",
"url": "http://www-us.apache.org/dist/ant/binaries/apache-ant-$version-bin.zip.sha512"
}
}

View File

@ -45,9 +45,8 @@ $root=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\
}
},
"hash": {
"mode": "extract",
"url": "$url.txt",
"find": "SHA256-Checksum for: (?:$basename):\\s+([a-zA-Z0-9]{64})"
"find": "SHA256-Checksum for: (?:$basename):\\s+([a-fA-F0-9]{64})"
}
}
}

View File

@ -30,8 +30,6 @@
}
},
"hash": {
"mode": "extract",
"type": "sha256",
"url": "$url.sha256sum"
}
}

View File

@ -30,9 +30,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://github.com/docker/machine/releases/download/v$version/sha256sum.txt",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://github.com/docker/machine/releases/download/v$version/sha256sum.txt"
}
}
}

View File

@ -38,9 +38,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$cleanVersion/SHA256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$cleanVersion/SHA256SUMS"
}
}
}

View File

@ -28,9 +28,7 @@
}
},
"hash": {
"mode": "extract",
"url": "$url.sha256",
"find": "([a-z0-9]{64})"
"url": "$url.sha256"
}
}
}

View File

@ -49,9 +49,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://s3.amazonaws.com/julialang/bin/checksums/julia-$version.sha256",
"find": "([a-z0-9]{64})\\s+\\*(?:$basename)"
"url": "https://s3.amazonaws.com/julialang/bin/checksums/julia-$version.sha256"
}
}
}

View File

@ -31,9 +31,6 @@
}
},
"hash": {
"type": "sha1",
"mode": "extract",
"find": "^([a-f0-9]{40})$",
"url": "$url.sha1"
}
}

View File

@ -24,7 +24,6 @@
}
},
"hash": {
"mode": "extract",
"url": "$url.sha256"
}
}

View File

@ -18,10 +18,7 @@
}
},
"hash": {
"mode": "extract",
"url": "$url.md5",
"type": "md5",
"find": "([a-z0-9]{32})\\s+(?:$basename)"
"url": "$url.md5"
}
},
"bin": [

View File

@ -37,9 +37,7 @@ Set-Content -Value \"prefix=$dir\\bin\" -Path $dir\\node_modules\\npm\\npmrc",
}
},
"hash": {
"mode": "extract",
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc"
}
}
}

View File

@ -37,9 +37,7 @@ Set-Content -Value \"prefix=$dir\\bin\" -Path $dir\\node_modules\\npm\\npmrc",
}
},
"hash": {
"mode": "extract",
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://nodejs.org/dist/v$version/SHASUMS256.txt.asc"
}
}
}

View File

@ -25,9 +25,7 @@
}
},
"hash": {
"mode": "extract",
"url": "$url.sha256",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "$url.sha256"
}
}
}

View File

@ -29,9 +29,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://releases.hashicorp.com/packer/$version/packer_$version_SHA256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://releases.hashicorp.com/packer/$version/packer_$version_SHA256SUMS"
}
}
}

View File

@ -55,10 +55,7 @@ if (!(Test-Path \"$dir\\cli\\conf.d\")) {
}
},
"hash": {
"mode": "extract",
"type": "sha1",
"url": "http://windows.php.net/downloads/releases/sha1sum.txt",
"find": "([a-z0-9]{40})\\s+(?:$basename)"
"url": "http://windows.php.net/downloads/releases/sha1sum.txt"
}
},
"suggest": {

View File

@ -55,10 +55,7 @@ if (!(Test-Path \"$dir\\cli\\conf.d\")) {
}
},
"hash": {
"mode": "extract",
"type": "sha1",
"url": "http://windows.php.net/downloads/releases/sha1sum.txt",
"find": "([a-z0-9]{40})\\s+(?:$basename)"
"url": "http://windows.php.net/downloads/releases/sha1sum.txt"
}
},
"suggest": {

View File

@ -15,9 +15,6 @@
"autoupdate": {
"url": "https://download.jetbrains.com/resharper/JetBrains.ReSharper.CommandLineTools.$version.zip",
"hash": {
"mode": "extract",
"type": "sha256",
"find": "([a-fA-F0-9]{64})\\s+\\*(?:$basename)",
"url": "$url.sha256"
}
}

View File

@ -29,9 +29,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_SHA256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://releases.hashicorp.com/terraform/$version/terraform_$version_SHA256SUMS"
}
}
}

View File

@ -13,9 +13,7 @@
"autoupdate": {
"url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version.msi",
"hash": {
"mode": "extract",
"url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version_SHA256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://releases.hashicorp.com/vagrant/$version/vagrant_$version_SHA256SUMS"
}
}
}

View File

@ -29,9 +29,7 @@
}
},
"hash": {
"mode": "extract",
"url": "https://releases.hashicorp.com/vault/$version/vault_$version_SHA256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://releases.hashicorp.com/vault/$version/vault_$version_SHA256SUMS"
}
}
}

View File

@ -14,9 +14,7 @@
"autoupdate": {
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/youtube-dl.exe",
"hash": {
"mode": "extract",
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/SHA2-256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/SHA2-256SUMS"
}
}
}