Skip to content

Commit 30705b7

Browse files
StartAutomatingStartAutomating
authored andcommitted
Merge branch 'PipeScriptUpdates' of https://github.com/StartAutomating/PipeScript into PipeScriptUpdates
1 parent 6aa8256 commit 30705b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PipeScript.types.ps1xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ $this.Parent.GetType().Name -in 'AssignmentStatementAST', 'HashtableAST'
428428
elseif ($this.Source -match "\.ps1{0,1}\.(?<ext>[^.]+$)") {
429429
"SourceGenerator"
430430
}
431+
elseif (($this.Source -match '\.[^\.\\/]+\.ps1$') -or ($this.Source -match 'build\.ps1$')) {
432+
"BuildScript"
433+
}
431434
elseif ($this.Source) {
432435
"PipeScriptFile"
433436
}

0 commit comments

Comments
 (0)