mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-10-31 22:01:19 +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": [
|
"json.schemas": [
|
||||||
{
|
{
|
||||||
"url": "https://raw.githubusercontent.com/lukesampson/scoop/master/schema.json",
|
"url": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"bucket/*.json"
|
"bucket/*.json"
|
||||||
]
|
]
|
||||||
@ -9,6 +17,10 @@
|
|||||||
],
|
],
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/.git": true,
|
"**/.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"
|
. "$env:SCOOP_HOME\test\Import-Bucket-Tests.ps1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user