1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

.gitignore: ignore all binary files by default

This commit is contained in:
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
*.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
# ignore all build binaries
*
!*/
!*.*
*.exe
*.o
*.so
@ -48,44 +13,52 @@ fns.txt
*.pdb
*.dll
*.lib
#
# macOS.gitignore
#
# General
.DS_Store
# Thumbnails
._*
.vrepl_temp.v
*.bak
a.out
vlib/os/bare/bare_example_linux
info.log
.vscode/**
# ignore v build files
/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
*.swo
*.swn
thirdparty/freetype/
thirdparty/sdl2/
thirdparty/SDL2_image/
thirdparty/SDL2_mixer/
thirdparty/SDL2_ttf/
# ignore debugger files
cachegrind.out.*
.gdb_history
/thirdparty/pg
exe
vlib/v/tests/inout/*.v
!vlib/v/tests/inout/*_test.v
vlib/v/checker/tests/inout/*.v
vlib/v/checker/tests/inout/*.c
!vlib/v/checker/tests/inout/*_test.v
vlib/v/checker/tests/*.v
*.dSYM
# ignore system files
.DS_Store
._*
thumbs.db

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

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
graph
message
!glfw3.dll

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 Normal file
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

3
vlib/v/checker/tests/.gitignore vendored Normal file
View File

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

3
vlib/v/tests/inout/.gitignore vendored Normal file
View File

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