Initial commit

This commit is contained in:
qwjyh 2023-01-17 18:11:16 +09:00 committed by GitHub
commit ff5c60e225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 547 additions and 0 deletions

9
bin/auto-pr.ps1 Normal file
View 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
View 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
View 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
View 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
View 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
View 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
View 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