We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 402323e commit 7026f24Copy full SHA for 7026f24
templates/.gitignore.tpl
@@ -45,13 +45,15 @@ tempchangelog.md
45
tests/*
46
!tests/README.md
47
48
+{{ if stencil.Exists "tests" -}}
49
{{ range $entry := stencil.ReadDir "tests" -}}
50
{{ if $entry.IsDir -}}
51
!tests/{{ $entry.Name }}
52
tests/{{ $entry.Name }}/*
53
!tests/{{ $entry.Name }}/stencil.yaml
54
{{ end -}}
55
{{- end }}
56
+{{- end }}
57
## <<Stencil::Block(ignores)>>
58
{{ file.Block "ignores" }}
59
## <</Stencil::Block>>
0 commit comments