Ver código fonte

Change the bucket structure to correspond with the structure recommended by scoop developers

Miroslav Abrahám 2 anos atrás
pai
commit
e707fb2e50

+ 9 - 0
bin/auto-pr.ps1

@@ -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 - 0
bin/checkhashes.ps1

@@ -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 - 0
bin/checkurls.ps1

@@ -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 - 0
bin/checkver.ps1

@@ -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 - 0
bin/formatjson.ps1

@@ -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 - 0
bin/missing-checkver.ps1

@@ -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 - 0
bin/test.ps1

@@ -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

+ 0 - 0
bucket-archive/coccodrillo.json → deprecated/coccodrillo.json


+ 0 - 0
bucket-archive/kunago.json → deprecated/kunago.json


+ 0 - 0
bucket-archive/kunago_payments_generate.json → deprecated/kunago_payments_generate.json


+ 0 - 0
bucket-archive/kunago_payments_regenerate.json → deprecated/kunago_payments_regenerate.json


+ 0 - 0
bucket-archive/libreoffice-all.json → deprecated/libreoffice-all.json


+ 0 - 0
bucket-archive/pdfsam2.json → deprecated/pdfsam2.json


+ 0 - 0
bucket-archive/settings/windowgrid/WindowGrid.settings → deprecated/settings/windowgrid/WindowGrid.settings


+ 0 - 0
bucket-archive/windowgrid.json → deprecated/windowgrid.json


+ 0 - 0
bucket-archive/windows11-drag-drop.json → deprecated/windows11-drag-drop.json


+ 2 - 0
scripts/.gitkeep

@@ -0,0 +1,2 @@
+# This directory stores helper files like shell scripts, registry entries etc. for installable applications.
+# Delete this '.gitkeep' file once this directory has any files.