mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
chore: format json (#55)
* fix: fix formatjson script * chore: format json
This commit is contained in:
parent
d378edbfa7
commit
e339f58f7f
@ -1,4 +1,4 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
|
||||
$path = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$formatjson -path $path $($args | ForEach-Object { "$_ " })"
|
||||
Invoke-Expression -command "$formatjson -dir $path $($args | ForEach-Object { "$_ " })"
|
||||
|
||||
@ -6,9 +6,7 @@
|
||||
"url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases/download/v0.1-alpha/azure-api-management-devops-example-win-x64-v0.1-alpha.zip",
|
||||
"hash": "8b980e59eec011c5eed042e8dc576b76e22b871f8dccefec6e4181dfcc281889",
|
||||
"depends": "azure-cli",
|
||||
"bin": [
|
||||
"apimtemplate.exe"
|
||||
],
|
||||
"bin": "apimtemplate.exe",
|
||||
"checkver": {
|
||||
"url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases",
|
||||
"regex": "tag/(?:v)?([\\w.-]+)"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"bin": "httping.exe",
|
||||
"checkver": {
|
||||
"url": "https://github.com/flok99/httping/releases",
|
||||
"regex": "tag\/([\\d.]+)"
|
||||
"regex": "tag/([\\d.]+)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
|
||||
@ -5,9 +5,7 @@
|
||||
"license": "GPL-2.0-only",
|
||||
"url": "https://github.com/Jorl17/jar2app/archive/master.zip",
|
||||
"extract_dir": "jar2app-master",
|
||||
"depends": [
|
||||
"python"
|
||||
],
|
||||
"depends": "python",
|
||||
"pre_install": "echo \"python `\"$dir\\jar2app.py`\" @args\" | out-file \"$dir\\jar2app.ps1\"",
|
||||
"bin": "jar2app.ps1"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user