Skip to content

Commit c7fa645

Browse files
Jonathan D.A. Jewellclaude
andcommitted
chore: add repository configuration files
- Add .gitignore for build artifacts - Add .gitattributes for consistent line endings and diffs - Add .tool-versions for asdf Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d5f5b4e commit c7fa645

3 files changed

Lines changed: 74 additions & 123 deletions

File tree

.gitattributes

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,48 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
2-
# RSR-compliant .gitattributes
3-
4-
* text=auto eol=lf
5-
6-
# Source
7-
*.rs text eol=lf diff=rust
8-
*.ex text eol=lf diff=elixir
9-
*.exs text eol=lf diff=elixir
10-
*.jl text eol=lf
11-
*.res text eol=lf
12-
*.resi text eol=lf
13-
*.ada text eol=lf diff=ada
14-
*.adb text eol=lf diff=ada
15-
*.ads text eol=lf diff=ada
16-
*.hs text eol=lf
17-
*.chpl text eol=lf
18-
*.scm text eol=lf
19-
*.ncl text eol=lf
20-
*.nix text eol=lf
21-
*.anv text eol=lf linguist-language=Anvomidav
22-
23-
# Docs
24-
*.md text eol=lf diff=markdown
25-
*.adoc text eol=lf
26-
*.txt text eol=lf
27-
28-
# Data
29-
*.json text eol=lf
30-
*.yaml text eol=lf
31-
*.yml text eol=lf
32-
*.toml text eol=lf
33-
34-
# Config
35-
.gitignore text eol=lf
36-
.gitattributes text eol=lf
37-
justfile text eol=lf
38-
Makefile text eol=lf
39-
Containerfile text eol=lf
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
3+
# Auto detect text files and perform LF normalization
4+
* text=auto
5+
6+
# Source code
7+
*.rs text eol=lf diff=rust
8+
*.ex text eol=lf diff=elixir
9+
*.exs text eol=lf diff=elixir
10+
*.ml text eol=lf diff=ocaml
11+
*.mli text eol=lf diff=ocaml
12+
*.res text eol=lf diff=javascript
13+
*.resi text eol=lf diff=javascript
14+
*.ts text eol=lf diff=typescript
15+
*.js text eol=lf diff=javascript
16+
*.idr text eol=lf
17+
*.v text eol=lf
18+
*.zig text eol=lf
19+
20+
# Configuration
21+
*.toml text eol=lf
22+
*.json text eol=lf
23+
*.yml text eol=lf
24+
*.yaml text eol=lf
25+
*.scm text eol=lf linguist-language=Scheme
26+
27+
# Documentation
28+
*.md text eol=lf diff=markdown
29+
*.adoc text eol=lf
30+
*.txt text eol=lf
4031

4132
# Scripts
42-
*.sh text eol=lf
43-
44-
# Binary
45-
*.png binary
46-
*.jpg binary
47-
*.gif binary
48-
*.pdf binary
49-
*.woff2 binary
50-
*.zip binary
51-
*.gz binary
52-
53-
# Lock files
54-
Cargo.lock text eol=lf -diff
55-
flake.lock text eol=lf -diff
33+
*.sh text eol=lf
34+
*.bash text eol=lf
35+
36+
# Build artifacts (binary)
37+
*.wasm binary
38+
*.rlib binary
39+
*.beam binary
40+
*.so binary
41+
*.dylib binary
42+
*.dll binary
43+
*.exe binary
44+
45+
# Lock files (generated)
46+
Cargo.lock linguist-generated=true
47+
package-lock.json linguist-generated=true
48+
mix.lock linguist-generated=true

.gitignore

Lines changed: 25 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,34 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
2-
# RSR-compliant .gitignore
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
32

4-
# OS & Editor
5-
.DS_Store
6-
Thumbs.db
3+
# Rust/Cargo
4+
/target/
5+
Cargo.lock
6+
**/*.rs.bk
7+
*.pdb
8+
9+
# IDE
10+
.vscode/
11+
.idea/
712
*.swp
813
*.swo
914
*~
10-
.idea/
11-
.vscode/
12-
13-
# Build
14-
/target/
15-
/_build/
16-
/build/
17-
/dist/
18-
/out/
19-
20-
# Dependencies
21-
/node_modules/
22-
/vendor/
23-
/deps/
24-
/.elixir_ls/
25-
26-
# Rust
27-
# Cargo.lock # Keep for binaries
28-
29-
# Elixir
30-
/cover/
31-
/doc/
32-
*.ez
33-
erl_crash.dump
34-
35-
# Julia
36-
*.jl.cov
37-
*.jl.mem
38-
/Manifest.toml
39-
40-
# ReScript
41-
/lib/bs/
42-
/.bsb.lock
43-
44-
# Python (SaltStack only)
45-
__pycache__/
46-
*.py[cod]
47-
.venv/
48-
49-
# Ada/SPARK
50-
*.ali
51-
/obj/
52-
/bin/
53-
54-
# Haskell
55-
/.stack-work/
56-
/dist-newstyle/
57-
58-
# Chapel
59-
*.chpl.tmp.*
15+
.DS_Store
6016

61-
# Secrets
62-
.env
63-
.env.*
64-
*.pem
65-
*.key
66-
secrets/
17+
# Build artifacts
18+
*.wasm
19+
*.so
20+
*.dylib
21+
*.dll
6722

68-
# Test/Coverage
69-
/coverage/
70-
htmlcov/
23+
# Testing
24+
.coverage/
25+
*.profraw
26+
*.profdata
7127

72-
# Logs
73-
*.log
74-
/logs/
28+
# OS
29+
Thumbs.db
30+
.Trash-*/
7531

76-
# Temp
77-
/tmp/
32+
# Temporary
7833
*.tmp
79-
*.bak
34+
*.log

.tool-versions

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# asdf version manager configuration
3+
rust 1.75.0

0 commit comments

Comments
 (0)