forked from pester/Pester
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting to use automatic Struostrup style in VSCode (pester#1203)
* Fix formatting to use automatic Struostrup style * Add settings to do formatting automatically in VSCode
- Loading branch information
Showing
133 changed files
with
4,449 additions
and
6,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
environment: | ||
matrix: | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
PSEdition: Core | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
PSEdition: Desktop | ||
- APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 | ||
PSEdition: Desktop | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
PSEdition: Core | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
PSEdition: Desktop | ||
- APPVEYOR_BUILD_WORKER_IMAGE: WMF 4 | ||
PSEdition: Desktop | ||
|
||
skip_branch_with_pr: true | ||
build: off | ||
|
||
test_script: | ||
- ps: | | ||
if ( $env:PSEdition -eq 'Desktop' ) { | ||
Set-StrictMode -Version Latest | ||
Import-Module ./Pester.psd1 | ||
Invoke-Pester -ExcludeTag VersionChecks, StyleRules, Help -EnableExit -OutputFile TestResults.xml -OutputFormat NUnitXml | ||
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Join-Path $PWD 'TestResults.xml')) } | ||
- pwsh: | | ||
if ( $env:PSEdition -eq 'Core' ) { | ||
Set-StrictMode -Version Latest | ||
Import-Module ./Pester.psd1 | ||
Invoke-Pester -ExcludeTag VersionChecks, StyleRules, Help -EnableExit -OutputFile TestResults.xml -OutputFormat NUnitXml | ||
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Join-Path $PWD 'TestResults.xml')) } | ||
- ps: | | ||
if ( $env:PSEdition -eq 'Desktop' ) { | ||
Set-StrictMode -Version Latest | ||
Import-Module ./Pester.psd1 | ||
Invoke-Pester -ExcludeTag VersionChecks, StyleRules, Help -EnableExit -OutputFile TestResults.xml -OutputFormat NUnitXml | ||
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Join-Path $PWD 'TestResults.xml')) } | ||
- pwsh: | | ||
if ( $env:PSEdition -eq 'Core' ) { | ||
Set-StrictMode -Version Latest | ||
Import-Module ./Pester.psd1 | ||
Invoke-Pester -ExcludeTag VersionChecks, StyleRules, Help -EnableExit -OutputFile TestResults.xml -OutputFormat NUnitXml | ||
(New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", (Join-Path $PWD 'TestResults.xml')) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
build/ | ||
Test.xml | ||
vendor/packages/ | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
language: generic | ||
|
||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"powershell.codeFormatting.preset": "Stroustrup", | ||
|
||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true, | ||
|
||
"editor.tabSize": 4, | ||
"editor.formatOnSave": true | ||
} |
Oops, something went wrong.