mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-15 11:51:23 +00:00
ci(test): Use scoop prefix scoop (#3130)
This commit is contained in:
parent
6a663cd0ad
commit
e869175e24
16
.vscode/settings.json
vendored
16
.vscode/settings.json
vendored
@ -1,7 +1,15 @@
|
||||
// Configure PSScriptAnalyzer settings
|
||||
{
|
||||
"[powershell]": {
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
|
||||
"powershell.codeFormatting.preset": "OTBS",
|
||||
"powershell.codeFormatting.alignPropertyValuePairs": true,
|
||||
"powershell.codeFormatting.ignoreOneLineBlock": true,
|
||||
"json.schemas": [
|
||||
{
|
||||
"url": "https://raw.githubusercontent.com/lukesampson/scoop/master/schema.json",
|
||||
"url": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
|
||||
"fileMatch": [
|
||||
"bucket/*.json"
|
||||
]
|
||||
@ -9,6 +17,10 @@
|
||||
],
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.DS_Store": true
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/tmp": true
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
||||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
|
||||
. "$env:SCOOP_HOME\test\Import-Bucket-Tests.ps1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user