.gitignore: ignore all binary files by default

pull/4648/head
Tim Basel 2020-04-29 16:49:13 +02:00 committed by GitHub
parent 03cee3fee0
commit 3e4cd12fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 59 additions and 120 deletions

113
.gitignore vendored
View File

@ -1,42 +1,7 @@
fns.txt # ignore all build binaries
*.dSYM *
*_test !*/
!*.*
/v
/v2
/v3
/vprod
/v-static
/v_old
/v_g
/v_cg
/v_prod
/v_prod_cg
/v_prod_g
/vjs
/v.c
/v.*.c
/v.c.out
/cmd/tools/check-md
/cmd/tools/performance_compare
/cmd/tools/oldv
/cmd/tools/vrepl
/cmd/tools/vself
/cmd/tools/vtest
/cmd/tools/vtest-compiler
/cmd/tools/vtest-fmt
/cmd/tools/vtest-fixed
/cmd/tools/vfmt
/cmd/tools/vbin2v
/cmd/tools/vup
/cmd/tools/vpm
/cmd/tools/vcreate
/cmd/tools/vbuild-examples
/cmd/tools/vbuild-tools
/cmd/tools/vbuild-vbinaries
*.exe *.exe
*.o *.o
*.so *.so
@ -48,44 +13,52 @@ fns.txt
*.pdb *.pdb
*.dll *.dll
*.lib *.lib
*.bak
#
# macOS.gitignore
#
# General
.DS_Store
# Thumbnails
._*
.vrepl_temp.v
a.out a.out
vlib/os/bare/bare_example_linux
info.log # ignore v build files
.vscode/** /v.c
/v.*.c
/v.c.out
.vrepl_temp.v
fns.txt
# vim/emacs editor backup files # ignore temp directories
/temp
/tmp
# unignore special files without extension
!.github/PULL_REQUEST_TEMPLATE
!.editorconfig
!.gitattributes
!.gitignore
!BSDmakefile
!Dockerfile
!Dockerfile.alpine
!Dockerfile.cross
!LICENSE
!Makefile
# ignore editor files
.idea
.project
.classpath
.c9
*.launch
.settings/
*.sublime-workspace
.vscode/
*~ *~
# vim gitignore
*.swp *.swp
*.swo *.swo
*.swn *.swn
thirdparty/freetype/ # ignore debugger files
thirdparty/sdl2/
thirdparty/SDL2_image/
thirdparty/SDL2_mixer/
thirdparty/SDL2_ttf/
cachegrind.out.* cachegrind.out.*
.gdb_history .gdb_history
/thirdparty/pg *.dSYM
exe
vlib/v/tests/inout/*.v # ignore system files
!vlib/v/tests/inout/*_test.v .DS_Store
vlib/v/checker/tests/inout/*.v ._*
vlib/v/checker/tests/inout/*.c thumbs.db
!vlib/v/checker/tests/inout/*_test.v
vlib/v/checker/tests/*.v

View File

@ -1,9 +0,0 @@
gen_vc
performance_compare
vcreate
vnames
vpm
vrepl
vtest
vtest-compiler
vup

19
examples/.gitignore vendored
View File

@ -1,20 +1 @@
/cli
/fibonacci
/fizz_buzz
/hanoi
/hello_v_js
/hello_world
/json
/links_scraper
/log
/nbody
/news_fetcher
/path_tracing
/quick_sort
/random_ips
/rune
/spectral
/tcp_echo_server
/terminal_control
*.ppm *.ppm

View File

@ -1,2 +0,0 @@
mysql
sqlite

View File

@ -1 +0,0 @@
eventbus

View File

@ -1,2 +0,0 @@
life
life_gg

View File

@ -1,2 +0,0 @@
/gg_freetype
/gg2

View File

@ -1,3 +1 @@
bounce !glfw3.dll
graph
message

View File

@ -1 +0,0 @@
simple_linear_regression

View File

@ -1 +0,0 @@
pico

View File

@ -1,3 +0,0 @@
fonts
fonts2
drawing

View File

@ -1 +0,0 @@
tetris

View File

@ -1 +0,0 @@
VCasino

View File

@ -1 +0,0 @@
vweb_example

View File

@ -1 +0,0 @@
word_counter

View File

@ -1 +0,0 @@
hello_world

9
thirdparty/.gitignore vendored 100644
View File

@ -0,0 +1,9 @@
!glfw/glfw3.dll
!glfw/msvc/glfw3.lib
freetype/
sdl2/
SDL2_image/
SDL2_mixer/
SDL2_ttf/
pg/

View File

@ -1,2 +0,0 @@
ftp_test
*.bak

View File

@ -0,0 +1,3 @@
*.v
*.c
!*_test.v

3
vlib/v/tests/inout/.gitignore vendored 100644
View File

@ -0,0 +1,3 @@
*.v
!*_test.v
!*.out