ScoopInstaller_Main/bucket/git-istage.json
2021-10-06 06:00:35 +00:00

34 lines
1.4 KiB
JSON

{
"version": "0.3.44",
"description": "A better git add -p",
"homepage": "https://github.com/terrajobst/git-istage",
"license": "MIT",
"depends": "dotnet-sdk",
"url": "https://www.nuget.org/api/v2/package/git-istage/0.3.44",
"hash": "212b0ac8a159d8cf1204b4cf2633f4e65e481de7065e4d702f96f7a2d28f8215",
"installer": {
"script": [
"Move-Item \"$dir\\$version\" \"$dir\\git-istage.$version.nupkg\"",
"$nugetConfig = \"<?xml version=`\"1.0`\" encoding=`\"utf-8`\"?><configuration><packageSources><clear /><add key=`\"Local`\" value=`\"$dir`\" /></packageSources></configuration>\"",
"$nugetConfigFile = \"$dir\\nuget.config\"",
"$nugetConfig | Out-File -Encoding UTF8 \"$nugetConfigFile\"",
"dotnet tool install git-istage --tool-path \"$dir\" --configfile \"$nugetConfigFile\"",
"$runCommand = \"if ( `$env:DOTNET_ROOT -eq `$null) { `$env:DOTNET_ROOT=Split-Path -Parent (Get-Command dotnet).Path } & `\"$dir\\git-istage.exe`\" `$args\"",
"$runCommand | Out-File -Encoding UTF8 \"$dir\\run.ps1\""
]
},
"bin": [
[
"run.ps1",
"git-istage"
]
],
"checkver": {
"url": "https://api.nuget.org/v3-flatcontainer/git-istage/index.json",
"jsonpath": "$.versions[-1:]"
},
"autoupdate": {
"url": "https://www.nuget.org/api/v2/package/git-istage/$version"
}
}