Skip to content

Commit 6b5d700

Browse files
committed
chore: ✏️ Update VSCode settings and tasks configuration
* Added search exclusion patterns in `.vscode/settings.json`. * Reformatted command arguments in `.vscode/tasks.json` for better readability. * Introduced a new task `Bootstrap` in `.vscode/tasks.json` for initialization. * Updated `PowerShellBuild` version in `requirements.psd1` to `0.7.2`.
1 parent 0cd8945 commit 6b5d700

3 files changed

Lines changed: 36 additions & 13 deletions

File tree

.vscode/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@
66
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
77
"powershell.codeFormatting.useCorrectCasing": true,
88
"powershell.codeFormatting.newLineAfterOpenBrace": true,
9-
"powershell.codeFormatting.alignPropertyValuePairs": true
9+
"powershell.codeFormatting.alignPropertyValuePairs": true,
10+
"search.useIgnoreFiles": true,
11+
"search.exclude": {
12+
"**/node_modules": true,
13+
"**/bower_components": true,
14+
"**/*.code-search": true,
15+
"**/.ruby-lsp": true,
16+
"Output/**": true
17+
}
1018
}

.vscode/tasks.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,42 @@
22
// See https://go.microsoft.com/fwlink/?LinkId=733558
33
// for the documentation about the tasks.json format
44
"version": "2.0.0",
5-
65
// Start PowerShell (pwsh on *nix)
76
"windows": {
87
"options": {
98
"shell": {
109
"executable": "powershell.exe",
11-
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ]
10+
"args": [
11+
"-NoProfile",
12+
"-ExecutionPolicy",
13+
"Bypass",
14+
"-Command"
15+
]
1216
}
1317
}
1418
},
1519
"linux": {
1620
"options": {
1721
"shell": {
1822
"executable": "/usr/bin/pwsh",
19-
"args": [ "-NoProfile", "-Command" ]
23+
"args": [
24+
"-NoProfile",
25+
"-Command"
26+
]
2027
}
2128
}
2229
},
2330
"osx": {
2431
"options": {
2532
"shell": {
2633
"executable": "/usr/local/bin/pwsh",
27-
"args": [ "-NoProfile", "-Command" ]
34+
"args": [
35+
"-NoProfile",
36+
"-Command"
37+
]
2838
}
2939
}
3040
},
31-
3241
"tasks": [
3342
{
3443
"label": "Clean",
@@ -69,6 +78,12 @@
6978
"label": "Publish",
7079
"type": "shell",
7180
"command": "${cwd}/build.ps1 -Task Publish -Verbose"
81+
},
82+
{
83+
"label": "Bootstrap",
84+
"type": "shell",
85+
"command": "${cwd}/build.ps1 -Task Init -Bootstrap -Verbose",
86+
"problemMatcher": []
7287
}
7388
]
7489
}

tests/TestModule/requirements.psd1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
@{
2-
PSDependOptions = @{
2+
PSDependOptions = @{
33
Target = 'CurrentUser'
44
}
5-
'InvokeBuild' = @{
5+
'InvokeBuild' = @{
66
Version = '5.5.1'
77
}
8-
'Pester' = @{
9-
Version = '4.8.1'
8+
'Pester' = @{
9+
Version = '4.8.1'
1010
Parameters = @{
1111
SkipPublisherCheck = $true
1212
}
1313
}
14-
'psake' = @{
14+
'psake' = @{
1515
Version = '4.8.0'
1616
}
17-
'BuildHelpers' = @{
17+
'BuildHelpers' = @{
1818
Version = '2.0.10'
1919
}
2020
'PowerShellBuild' = @{
21-
Version = '0.5.0'
21+
Version = '0.7.2'
2222
}
2323
}

0 commit comments

Comments
 (0)