v2 / .gitignore
171 lines · 143 sloc · 2.14 KB · 2f3c0f1f397c08bfc5ef73e7ff62794471b2b811
Raw
1# ignore sub-level extensionless build outputs
2*/**/*
3!*/
4!*.*
5
6# ignore generated binaries and object files
7*.exe
8*.o
9*.so
10.*.c
11*.tmp.c
12*.obj
13*.exp
14*.ilk
15*.pdb
16*.dll
17*.lib
18*.bak
19*.dylib
20a.out
21.noprefix.vrepl_temp
22
23# ignore v build files
24# *.exe is already ignored above
25/v
26/v2
27/vc
28/v.c
29/v.*.c
30/v.c.out
31/v_old
32/vdbg
33/vold
34/vnew
35/vprod
36/vprod_gcc
37/vprod_clang
38.vrepl_temp.v
39fns.txt
40.noprefix.vrepl_temp.v
41
42# Prefix local scratch/repro files with tmp. when they should stay untracked.
43tmp.*
44
45# ignore temp and cache directories
46temp/
47tmp/
48cache/
49.cache/
50
51# unignore special files without extension
52!.github/PULL_REQUEST_TEMPLATE
53!.editorconfig
54!.gitattributes
55!.gitignore
56!BSDmakefile
57!Dockerfile
58!Dockerfile.alpine
59!Dockerfile.cross
60!LICENSE
61!Makefile
62!GNUmakefile
63
64# ignore editor files
65.project/
66.classpath/
67.c9/
68.vs/
69*.launch
70.settings/
71*.sublime-workspace
72.vscode/
73*.code-workspace
74*~
75~*
76.sesskey
77*.db
78*.swp
79*.swo
80*.swn
81.env
82
83# ignore debugger files
84cachegrind.out.*
85.gdb_history
86*.dSYM
87*.def
88vgcore.*
89
90# ignore system files
91.DS_Store
92._*
93thumbs.db
94/.symlink
95/.bin
96
97_docs
98
99# ignore vs databases
100*.suo
101*.VC.db
102*.rsp
103
104# ignore cmd/tools/.disable_autorecompilation, which some package managers use.
105cmd/tools/.disable_autorecompilation
106
107test.bin
108
109# ignore codespace env
110.venv/
111.direnv/
112shell.nix
113default.nix
114flake.nix
115.envrc
116
117# generated by thirdparty/stdatomic/nix/cpp/gen.v
118thirdparty/stdatomic/nix/cpp/*.h
119
120# ignore thirdparty libs that are distributed separately
121thirdparty/binaryen*
122thirdparty/wabt*
123thirdparty/tcc/
124thirdparty/sqlite/
125
126# ignore VLS log
127vls.log
128
129# ignore v2go tmperror files
130*.tmperr
131
132.vtmp_cov_*/
133
134# ignore Intellij files
135.idea/
136/*.iml
137
138# ignore generated files:
139wasm.v
140
141# ignore large GTK *.gir files
142Gtk-4.0.gir
143*.gir
144
145vlib/builtin/js/*.js
146vlib/v/tests/*.js
147
148# ignore tags indexes, used by emacs/vim:
149ETAGS
150TAGS
151tags
152
153# ignore the old regexp based v.ctags file (people using universal ctags < 6.1.0, can still benefit from them)
154.ctags.d/v.ctags
155
156# ignore .NET7.0 Assembly Files
157bench/vectors/bin
158bench/vectors/obj
159
160autofuzz.log
161.project.gf
162.aider*
163
164# ignore common file names for bugs/reproductions
165bug*
166issue*
167
168# ignore cmd2/v stuff
169cmd/v2/*.txt
170cmd/v2/*.json
171.claude/
172