chore: format json (#55)

* fix: fix formatjson script

* chore: format json
This commit is contained in:
Chawye Hsu 2019-05-13 21:48:40 +08:00 committed by Richard Kuhnt
parent d378edbfa7
commit e339f58f7f
4 changed files with 12 additions and 16 deletions

View File

@ -1,4 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1" $formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
$path = "$psscriptroot/../bucket" # checks the parent dir $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 { "$_ " })"

View File

@ -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", "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", "hash": "8b980e59eec011c5eed042e8dc576b76e22b871f8dccefec6e4181dfcc281889",
"depends": "azure-cli", "depends": "azure-cli",
"bin": [ "bin": "apimtemplate.exe",
"apimtemplate.exe"
],
"checkver": { "checkver": {
"url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases", "url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases",
"regex": "tag/(?:v)?([\\w.-]+)" "regex": "tag/(?:v)?([\\w.-]+)"

View File

@ -13,7 +13,7 @@
"bin": "httping.exe", "bin": "httping.exe",
"checkver": { "checkver": {
"url": "https://github.com/flok99/httping/releases", "url": "https://github.com/flok99/httping/releases",
"regex": "tag\/([\\d.]+)" "regex": "tag/([\\d.]+)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {

View File

@ -1,13 +1,11 @@
{ {
"homepage": "https://github.com/Jorl17/jar2app", "homepage": "https://github.com/Jorl17/jar2app",
"description": "Convert any Java jar to a Mac OS X .App bundle.", "description": "Convert any Java jar to a Mac OS X .App bundle.",
"version": "nightly", "version": "nightly",
"license": "GPL-2.0-only", "license": "GPL-2.0-only",
"url": "https://github.com/Jorl17/jar2app/archive/master.zip", "url": "https://github.com/Jorl17/jar2app/archive/master.zip",
"extract_dir": "jar2app-master", "extract_dir": "jar2app-master",
"depends": [ "depends": "python",
"python" "pre_install": "echo \"python `\"$dir\\jar2app.py`\" @args\" | out-file \"$dir\\jar2app.ps1\"",
], "bin": "jar2app.ps1"
"pre_install": "echo \"python `\"$dir\\jar2app.py`\" @args\" | out-file \"$dir\\jar2app.ps1\"",
"bin": "jar2app.ps1"
} }