-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
89 lines (76 loc) · 2.98 KB
/
.gitattributes
File metadata and controls
89 lines (76 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2025 Michael Gardner, A Bit of Help, Inc.
# =============================================================================
# Git Attributes for Ada Project - GitHub Linguist Configuration
# =============================================================================
# This file configures how GitHub's linguist tool analyzes the repository,
# ensuring accurate language statistics that reflect this as an Ada project.
# =============================================================================
# -----------------------------------------------------------------------------
# Ada Source Files (Primary Language)
# -----------------------------------------------------------------------------
*.ads linguist-language=Ada
*.adb linguist-language=Ada
# -----------------------------------------------------------------------------
# Exclude Non-Ada Files from Language Statistics
# -----------------------------------------------------------------------------
# Build and project files
*.gpr linguist-vendored
Makefile linguist-vendored
*.mk linguist-vendored
# Configuration files
*.toml linguist-vendored
*.yaml linguist-vendored
*.yml linguist-vendored
*.json linguist-vendored
# Documentation
*.md linguist-documentation
*.txt linguist-documentation
*.rst linguist-documentation
docs/** linguist-documentation
# Scripts and tools
scripts/** linguist-vendored
tools/** linguist-vendored
*.sh linguist-vendored
*.py linguist-vendored
*.rb linguist-vendored
*.pl linguist-vendored
# Examples (optional: remove this line if you want examples counted)
# examples/** linguist-documentation
# Build artifacts and generated files
obj/** linguist-generated
lib/** linguist-generated
bin/** linguist-generated
alire/** linguist-generated
config/tzif_config.ads linguist-generated
# Version control and IDE
.git/** linguist-vendored
.github/** linguist-vendored
.vscode/** linguist-vendored
.idea/** linguist-vendored
# -----------------------------------------------------------------------------
# Line Ending Configuration
# -----------------------------------------------------------------------------
# Ensure consistent line endings across platforms
*.ads text eol=lf
*.adb text eol=lf
*.gpr text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# -----------------------------------------------------------------------------
# Diff Configuration
# -----------------------------------------------------------------------------
# Use Ada-aware diff for Ada files
*.ads diff=ada
*.adb diff=ada
# -----------------------------------------------------------------------------
# Export Ignore (Alire/Archive Exclusions)
# -----------------------------------------------------------------------------
# Exclude submodules from Alire source archives to prevent path collisions
# with dependencies that share the same submodule structure
scripts/python export-ignore
test/scripts/python/shared export-ignore
docs/common export-ignore