mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
Remove unnecessary type, mode and find definitions
This commit is contained in:
parent
0cf42462ca
commit
e5f2c03b12
7
ant.json
7
ant.json
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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})"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,8 +30,6 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"mode": "extract",
|
||||
"type": "sha256",
|
||||
"url": "$url.sha256sum"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
4
go.json
4
go.json
@ -28,9 +28,7 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"mode": "extract",
|
||||
"url": "$url.sha256",
|
||||
"find": "([a-z0-9]{64})"
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,9 +31,6 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"type": "sha1",
|
||||
"mode": "extract",
|
||||
"find": "^([a-f0-9]{40})$",
|
||||
"url": "$url.sha1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"mode": "extract",
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,10 +18,7 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"mode": "extract",
|
||||
"url": "$url.md5",
|
||||
"type": "md5",
|
||||
"find": "([a-z0-9]{32})\\s+(?:$basename)"
|
||||
"url": "$url.md5"
|
||||
}
|
||||
},
|
||||
"bin": [
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,9 +25,7 @@
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"mode": "extract",
|
||||
"url": "$url.sha256",
|
||||
"find": "([a-z0-9]{64})\\s+(?:$basename)"
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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": {
|
||||
|
||||
5
php.json
5
php.json
@ -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": {
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user