Skip to content

Commit 5f99354

Browse files
Jonathan D.A. Jewellclaude
andcommitted
chore: add repository configuration files
- Add .gitignore for Rust/Idris2/Coq artifacts - Add .gitattributes for consistent line endings and diffs - Add .tool-versions for asdf (rust 1.75.0, idris2 0.7.0) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 244fe75 commit 5f99354

3 files changed

Lines changed: 79 additions & 128 deletions

File tree

.gitattributes

Lines changed: 46 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +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-
22-
# Docs
23-
*.md text eol=lf diff=markdown
24-
*.adoc text eol=lf
25-
*.txt text eol=lf
26-
27-
# Data
28-
*.json text eol=lf
29-
*.yaml text eol=lf
30-
*.yml text eol=lf
31-
*.toml text eol=lf
32-
33-
# Config
34-
.gitignore text eol=lf
35-
.gitattributes text eol=lf
36-
justfile text eol=lf
37-
Makefile text eol=lf
38-
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
3931

4032
# Scripts
41-
*.sh text eol=lf
42-
43-
# Binary
44-
*.png binary
45-
*.jpg binary
46-
*.gif binary
47-
*.pdf binary
48-
*.woff2 binary
49-
*.zip binary
50-
*.gz binary
51-
52-
# Lock files
53-
Cargo.lock text eol=lf -diff
54-
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: 29 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,36 @@
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+
8+
# Idris2
9+
build/
10+
*.ttc
11+
*.ttm
12+
*.ibc
13+
14+
# Coq
15+
*.vo
16+
*.vok
17+
*.vos
18+
*.glob
19+
.*.aux
20+
*.timing
21+
22+
# IDE
23+
.vscode/
24+
.idea/
725
*.swp
826
*.swo
927
*~
10-
.idea/
11-
.vscode/
12-
13-
# Build
14-
/target/
15-
/_build/
16-
/build/
17-
/dist/
18-
/out/
19-
/idris2/build/
20-
/idris2/ffi/zig/libephapax_tokbuf.a
21-
/.zig-cache/
22-
/.zig-cache-global/
23-
24-
# Dependencies
25-
/node_modules/
26-
/vendor/
27-
/deps/
28-
/.elixir_ls/
29-
30-
# Rust
31-
# Cargo.lock # Keep for binaries
32-
33-
# Elixir
34-
/cover/
35-
/doc/
36-
*.ez
37-
erl_crash.dump
38-
39-
# Julia
40-
*.jl.cov
41-
*.jl.mem
42-
/Manifest.toml
43-
44-
# ReScript
45-
/lib/bs/
46-
/.bsb.lock
47-
48-
# Python (SaltStack only)
49-
__pycache__/
50-
*.py[cod]
51-
.venv/
52-
53-
# Ada/SPARK
54-
*.ali
55-
/obj/
56-
/bin/
57-
58-
# Haskell
59-
/.stack-work/
60-
/dist-newstyle/
61-
62-
# Chapel
63-
*.chpl.tmp.*
64-
65-
# Secrets
66-
.env
67-
.env.*
68-
*.pem
69-
*.key
70-
secrets/
71-
72-
# Test/Coverage
73-
/coverage/
74-
htmlcov/
28+
.DS_Store
7529

76-
# Logs
77-
*.log
78-
/logs/
30+
# OS
31+
Thumbs.db
32+
.Trash-*/
7933

80-
# Temp
81-
/tmp/
34+
# Temporary
8235
*.tmp
83-
*.bak
36+
*.log

.tool-versions

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

0 commit comments

Comments
 (0)