refactor: unify bucket structure
This commit is contained in:
parent
4130344c58
commit
aa93004fab
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# retain windows line-endings in case checked out on mac or linux
|
||||
* text eol=crlf
|
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"EditorConfig.EditorConfig",
|
||||
"ms-vscode.PowerShell"
|
||||
]
|
||||
}
|
14
.vscode/settings.json
vendored
Normal file
14
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"json.schemas": [
|
||||
{
|
||||
"url": "https://raw.githubusercontent.com/lukesampson/scoop/master/schema.json",
|
||||
"fileMatch": [
|
||||
"bucket/*.json"
|
||||
]
|
||||
}
|
||||
],
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.DS_Store": true
|
||||
}
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
# scoop-games
|
||||
|
||||
[![Repo size](https://img.shields.io/github/repo-size/Calinou/scoop-games.svg?style=flat-square)](https://github.com/Calinou/scoop-games) [![Mentioned in Awesome Scoop](https://awesome.re/mentioned-badge.svg)](https://github.com/scoopinstaller/awesome-scoop)
|
||||
|
||||
A [Scoop](https://scoop.sh/) bucket for open source/freeware games and game-related tools.
|
||||
|
||||
## Usage
|
||||
|
@ -5,5 +5,5 @@ param(
|
||||
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1"
|
||||
$dir = "$psscriptroot/.." # checks the parent dir
|
||||
iex -command "$autopr -dir $dir -upstream $upstream $($args |% { "$_ " })"
|
||||
$dir = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$autopr -dir $dir -upstream $upstream $($args | ForEach-Object { "$_ " })"
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$checkurls = "$env:SCOOP_HOME/bin/checkurls.ps1"
|
||||
$dir = "$psscriptroot/.." # checks the parent dir
|
||||
iex -command "$checkurls -dir $dir $($args |% { "$_ " })"
|
||||
$dir = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$checkurls -dir $dir $($args | ForEach-Object { "$_ " })"
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$checkver = "$env:SCOOP_HOME/bin/checkver.ps1"
|
||||
$dir = "$psscriptroot/.." # checks the parent dir
|
||||
iex -command "$checkver -dir $dir $($args |% { "$_ " })"
|
||||
$dir = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$checkver -dir $dir $($args | ForEach-Object { "$_ " })"
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
|
||||
$path = "$psscriptroot/.." # checks the parent dir
|
||||
iex -command "$formatjson -path $path $($args |% { "$_ " })"
|
||||
$path = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$formatjson -path $path $($args | ForEach-Object { "$_ " })"
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
$missing_checkver = "$env:SCOOP_HOME/bin/missing-checkver.ps1"
|
||||
$dir = "$psscriptroot/.." # checks the parent dir
|
||||
iex -command "$missing_checkver -dir $dir $($args |% { "$_ " })"
|
||||
$dir = "$psscriptroot/../bucket" # checks the parent dir
|
||||
Invoke-Expression -command "$missing_checkver -dir $dir $($args | ForEach-Object { "$_ " })"
|
||||
|
@ -1,2 +1,4 @@
|
||||
#requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '4.4.0' }
|
||||
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
Invoke-Pester "$psscriptroot/.."
|
||||
|
Loading…
x
Reference in New Issue
Block a user