mirror of
https://github.com/qwjyh/scoop_bucket.git
synced 2025-06-29 08:19:19 +09:00
Initial commit
This commit is contained in:
commit
ff5c60e225
29 changed files with 547 additions and 0 deletions
9
bin/auto-pr.ps1
Normal file
9
bin/auto-pr.ps1
Normal file
|
@ -0,0 +1,9 @@
|
|||
param(
|
||||
# overwrite upstream param
|
||||
[String]$upstream = "<username>/<bucketname>:main"
|
||||
)
|
||||
|
||||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1"
|
||||
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $autopr -Dir $dir -Upstream $Upstream @Args
|
4
bin/checkhashes.ps1
Normal file
4
bin/checkhashes.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$checkhashes = "$env:SCOOP_HOME/bin/checkhashes.ps1"
|
||||
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $checkhashes -Dir $dir @Args
|
4
bin/checkurls.ps1
Normal file
4
bin/checkurls.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$checkurls = "$env:SCOOP_HOME/bin/checkurls.ps1"
|
||||
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $checkurls -Dir $dir @Args
|
4
bin/checkver.ps1
Normal file
4
bin/checkver.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$checkver = "$env:SCOOP_HOME/bin/checkver.ps1"
|
||||
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $checkver -Dir $dir @Args
|
4
bin/formatjson.ps1
Normal file
4
bin/formatjson.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
|
||||
$path = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $formatjson -Dir $path @Args
|
4
bin/missing-checkver.ps1
Normal file
4
bin/missing-checkver.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||
$missing_checkver = "$env:SCOOP_HOME/bin/missing-checkver.ps1"
|
||||
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
|
||||
& $missing_checkver -Dir $dir @Args
|
15
bin/test.ps1
Normal file
15
bin/test.ps1
Normal file
|
@ -0,0 +1,15 @@
|
|||
#Requires -Version 5.1
|
||||
#Requires -Modules @{ ModuleName = 'BuildHelpers'; ModuleVersion = '2.0.1' }
|
||||
#Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '5.2.0' }
|
||||
|
||||
$pesterConfig = New-PesterConfiguration -Hashtable @{
|
||||
Run = @{
|
||||
Path = "$PSScriptRoot/.."
|
||||
PassThru = $true
|
||||
}
|
||||
Output = @{
|
||||
Verbosity = 'Detailed'
|
||||
}
|
||||
}
|
||||
$result = Invoke-Pester -Configuration $pesterConfig
|
||||
exit $result.FailedCount
|
Loading…
Add table
Add a link
Reference in a new issue