Skip to content

Commit ae0a8c5

Browse files
Copilotwbreza
andauthored
Add .gitignore templates to extension language scaffolding (#6232)
* Initial plan * Add language-specific .gitignore files to extension templates Co-authored-by: wbreza <6540159+wbreza@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wbreza <6540159+wbreza@users.noreply.github.com>
1 parent eef92c9 commit ae0a8c5

File tree

5 files changed

+93
-0
lines changed

5 files changed

+93
-0
lines changed

cli/azd/.vscode/cspell.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ overrides:
237237
- filename: pkg/project/service_target_dotnet_containerapp.go
238238
words:
239239
- IMAGENAME
240+
- filename: extensions/microsoft.azd.extensions/internal/resources/languages/**/.gitignore
241+
words:
242+
- rsuser
243+
- userosscache
244+
- docstates
245+
- dylib
240246
ignorePaths:
241247
- "**/*_test.go"
242248
- "**/mock*.go"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Build output directories
2+
bin/
3+
obj/
4+
5+
# User-specific files
6+
*.rsuser
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# Visual Studio
13+
.vs/
14+
15+
# IDE
16+
.vscode/
17+
.idea/
18+
*.swp
19+
*.swo
20+
21+
# OS
22+
.DS_Store
23+
Thumbs.db
24+
25+
# env file
26+
.env

cli/azd/extensions/microsoft.azd.extensions/internal/resources/languages/go/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# If you prefer the allow list template instead of the deny list, see community template:
22
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
33
#
4+
# Build output directory
5+
bin/
6+
47
# Binaries for programs and plugins
58
*.exe
69
*.exe~
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Build output directory
2+
bin/
3+
4+
# Generated protobuf files
5+
generated/
6+
7+
# Node modules
8+
node_modules/
9+
10+
# npm package lock file (uncomment if you want to ignore it)
11+
# package-lock.json
12+
13+
# IDE
14+
.vscode/
15+
.idea/
16+
*.swp
17+
*.swo
18+
19+
# OS
20+
.DS_Store
21+
Thumbs.db
22+
23+
# env file
24+
.env
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Build output directory
2+
bin/
3+
4+
# PyInstaller build artifacts
5+
build/
6+
dist/
7+
*.spec
8+
9+
# Generated protobuf files
10+
generated_proto/
11+
12+
# Python bytecode
13+
__pycache__/
14+
*.py[cod]
15+
*$py.class
16+
17+
# Virtual environments
18+
.venv/
19+
venv/
20+
ENV/
21+
env/
22+
23+
# IDE
24+
.vscode/
25+
.idea/
26+
*.swp
27+
*.swo
28+
29+
# OS
30+
.DS_Store
31+
Thumbs.db
32+
33+
# env file
34+
.env

0 commit comments

Comments
 (0)