mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
karate: Update to version 1.4.0
The ZIP release is no longer published - fixed to use the standalone .jar provided instead. The .bat file created is the same as the one that was provided in the ZIP release, I have just added `@echo off`
This commit is contained in:
parent
69a67344e7
commit
b6a0ab82b5
@ -1,17 +1,15 @@
|
||||
{
|
||||
"version": "1.3.1",
|
||||
"version": "1.4.0",
|
||||
"description": "Test automation tool that combines API test-automation, mocks, performance-testing and UI automation into a single framework.",
|
||||
"homepage": "https://karatelabs.github.io/karate/",
|
||||
"license": "MIT",
|
||||
"suggest": {
|
||||
"Java": "java/openjdk"
|
||||
},
|
||||
"url": "https://github.com/karatelabs/karate/releases/download/v1.3.1/karate-1.3.1.zip",
|
||||
"hash": "7a44bd20f12e3f9e720bb99be5976110a9b4fcef220c1edd64279938548b10c3",
|
||||
"extract_dir": "karate-1.3.1",
|
||||
"url": "https://github.com/karatelabs/karate/releases/download/v1.4.0/karate-1.4.0.jar#/karate.jar",
|
||||
"hash": "2d31b14b976ca7e52b0f323e7a82494a875285edf82961d65b5420aa78496b03",
|
||||
"pre_install": [
|
||||
"$cont = Get-Content \"$dir\\karate.bat\"",
|
||||
"$cont = 'cd /d \"%~dp0\"' + \"`r`n\" + $cont",
|
||||
"$cont = \"@echo off`r`n\" + 'cd /d \"%~dp0\"' + \"`r`njava -cp karate.jar;. com.intuit.karate.Main %*\"",
|
||||
"Set-Content \"$dir\\karate.bat\" $cont -Encoding ascii"
|
||||
],
|
||||
"bin": "karate.bat",
|
||||
@ -20,7 +18,6 @@
|
||||
"github": "https://github.com/karatelabs/karate"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://github.com/karatelabs/karate/releases/download/v$version/karate-$version.zip",
|
||||
"extract_dir": "karate-$version"
|
||||
"url": "https://github.com/karatelabs/karate/releases/download/v$version/karate-$version.jar#/karate.jar"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user