From 3a32250b80c838b01a05f92711576abc6fceecaf Mon Sep 17 00:00:00 2001 From: Feoramund <161657516+Feoramund@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:16:20 -0400 Subject: [PATCH] Add `.gitignore` for `tests` directory --- .gitignore | 2 -- tests/.gitignore | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 tests/.gitignore diff --git a/.gitignore b/.gitignore index c67986594..553e16005 100644 --- a/.gitignore +++ b/.gitignore @@ -23,8 +23,6 @@ bld/ [Oo]bj/ [Ll]og/ ![Cc]ore/[Ll]og/ -tests/documentation/verify/ -tests/documentation/all.odin-doc # Visual Studio 2015 cache/options directory .vs/ # Visual Studio Code options directory diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 000000000..ce17927b4 --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1,19 @@ +# Ignore all files. +* + +# Un-ignore all directories. +!*/ + +# Un-ignore files with an extension. +# +# In conjunction with the first two rules, this should catch extensionless +# binaries on the UNIX-like platforms. +!*.* + +# But remember to ignore executables with an extension. +*.exe +*.bin + +# Ignore documentation-related files. +/documentation/verify/ +/documentation/all.odin-doc