Skip to content

Commit

Permalink
enhancement: Adding Compiler Command Type (Fixes #543)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Nov 5, 2023
1 parent d6d13c8 commit 8ff9e79
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions PipeScript.ps.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
(?>Protocol\p{P}) # Protocol + Punctuation
(?=[^\p{P}]+$) # Followed by anything but punctuation.
'
}
}

Check warning on line 65 in PipeScript.ps.psd1

View workflow job for this annotation

GitHub Actions / PowerShellStaticAnalysis

PSAvoidTrailingWhitespace : Line has trailing whitespace

'PipeScriptNoun' = @{
Description = 'Commands with the noun PipeScript'
Expand Down Expand Up @@ -111,7 +111,20 @@
'Sentence' = @{
Description = 'Sentence Commands'
Pattern = '(?>PipeScript\p{P})?Sentence\p{P}'
}
}

'Compiler' = @{
Description = 'A Compiler'
Pattern = '
(?>

Check warning on line 119 in PipeScript.ps.psd1

View workflow job for this annotation

GitHub Actions / PowerShellStaticAnalysis

PSAvoidTrailingWhitespace : Line has trailing whitespace
\.psx.ps1$|
Compiler\.ps1$|
\.psc.ps1$|
Compile[sr]?\p{P}
)
'
ExcludeCommandType = 'Application'
}

Check warning on line 127 in PipeScript.ps.psd1

View workflow job for this annotation

GitHub Actions / PowerShellStaticAnalysis

PSAvoidTrailingWhitespace : Line has trailing whitespace

Check warning on line 128 in PipeScript.ps.psd1

View workflow job for this annotation

GitHub Actions / PowerShellStaticAnalysis

PSAvoidTrailingWhitespace : Line has trailing whitespace
'Transpiler' =

Check warning on line 129 in PipeScript.ps.psd1

View workflow job for this annotation

GitHub Actions / PowerShellStaticAnalysis

PSAvoidTrailingWhitespace : Line has trailing whitespace
@{
Expand Down

0 comments on commit 8ff9e79

Please sign in to comment.