mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 20:21:18 +00:00
* add more version substitutions for urls (e.g. used for 7zip) * 7zip add autoupdate * update exlixr 1.4.0 and add autoupdate * update erlang 19.2 and add autoupdate * update ffmpeg 20170110 and add autoupdate * update flow 0.37.4 and add autoupdate * forge add autoupdate * update grails 3.2.4 and add autoupdate * update groovy 2.4.7 and add autoupdate * fix haskell url * update haxe 3.4.0-rc.2 and add autoupdate * hub add autoupdate * update hugo 0.18.1 and add autoupdate * update latex 2.9.6161 and add autoupdate * update lessmsi 1.5.1 and add autoupdate * update llvm 3.9.1 and add autoupdate * update mysql 5.7.17 and add autoupdate * fix nginx urls * nuget add autoupdate * nvm add autoupdate * update octave 4.2.0 and add autoupdate * update pester 3.4.3 and add autoupdate * phantomjs add autoupdate * update postgresql 9.6.1 and add autoupdate * puppet add autoupdate * update racket 6.7 and add autoupdate * update rancher 0.12.1 * rethinkdb add autoupdate * update rsync 5.5.0 and add autoupdate * rust-msvc add autoupdate * rust add autoupdate * update sbt 0.13.13 and add autoupdate * update scala 2.12.1 and add autoupdate * update sqlite 3160200 and add autoupdate * update thrift 0.10.0 and add autoupdate * update youtube-dl 2017.01.10
38 lines
1.4 KiB
JSON
38 lines
1.4 KiB
JSON
{
|
|
"version": "3.4.3",
|
|
"license": "https://raw.githubusercontent.com/pester/Pester/master/LICENSE",
|
|
"url": "https://github.com/pester/pester/archive/3.4.3.tar.gz",
|
|
"homepage": "https://github.com/pester/Pester",
|
|
"hash": "8690283baf3e03e6e9e9188008e3d219c3db5dc6da866a26bae11f5a9016826d",
|
|
"extract_dir": "pester-3.4.3",
|
|
"bin": "bin\\pester.bat",
|
|
"post_install": "
|
|
$import = \"try { `$null = gcm pester -ea stop; import-module `\"$dir\\pester.psm1`\" } catch { }\"
|
|
|
|
if($profile) {
|
|
'adding pester to powershell profile...'
|
|
if(!(test-path $profile)) {
|
|
'powershell profile doesn''t exist. creating...'
|
|
$profile_dir = split-path $profile
|
|
if(!(test-path $profile_dir)) { mkdir $profile_dir > $null }
|
|
'' > $profile
|
|
}
|
|
|
|
$text = get-content $profile
|
|
if (($text | sls 'pester') -eq $null) {
|
|
$new_profile = @($text) + $import
|
|
$new_profile > $profile
|
|
success 'pester added to powershell profile.'
|
|
}
|
|
} else { warn 'no powershell profile found. the pester module will not be imported each session.' }
|
|
|
|
'importing pester for current session...'
|
|
iex \"$import\"
|
|
",
|
|
"checkver": "github",
|
|
"autoupdate": {
|
|
"url": "https://github.com/pester/pester/archive/$version.tar.gz",
|
|
"extract_dir": "pester-$version"
|
|
}
|
|
}
|