ScoopInstaller_Main/bucket/aws-sam-cli.json
2024-05-31 00:33:24 +00:00

44 lines
1.4 KiB
JSON

{
"version": "1.118.0",
"description": "Build, test, debug, and deploy Serverless applications from CLI",
"homepage": "https://aws.amazon.com/serverless/sam/",
"license": "Apache-2.0",
"depends": "lessmsi",
"suggest": {
"AWS CLI": "aws"
},
"architecture": {
"64bit": {
"url": "https://github.com/aws/aws-sam-cli/releases/download/v1.118.0/AWS_SAM_CLI_64_PY3.msi#/dl.msi_",
"hash": "68a7216ac2b2cd15e6bcc3b5fd18ba43f49d085cddef51d487ecc5c4811f2efd"
}
},
"pre_install": [
"# Workaround for #4980",
"Start-Process lessmsi -ArgumentList @('x', \"`\"$dir\\$fname`\"\", \"`\"$dir\\`\"\") -Wait -NoNewWindow",
"Move-Item \"$dir\\SourceDir\\Amazon\\AWSSAMCLI\\**\" \"$dir\"",
"Remove-Item \"$dir\\SourceDir\", \"$dir\\$fname\" -Force -Recurse"
],
"bin": [
"bin\\sam.cmd",
[
"bin\\sam.cmd",
"aws-sam-cli"
]
],
"checkver": {
"github": "https://github.com/aws/aws-sam-cli"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/aws/aws-sam-cli/releases/download/v$version/AWS_SAM_CLI_64_PY3.msi#/dl.msi_"
}
},
"hash": {
"url": "https://github.com/aws/aws-sam-cli/releases/tag/v$version",
"regex": "(?sm)>$basename</.*?>\\s*$sha256</"
}
}
}