From 650910283d1ed11f944f0e44dcbf36d02df0337e Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 14 Feb 2020 17:36:40 +0100 Subject: [PATCH] Exclude specific files that are part of the repo from gitignore --- .gitignore | 5 +++++ linux/.gitignore | 4 ++++ linux/libSDL2.dylib | 0 linux/libSDL2.so | 0 4 files changed, 9 insertions(+) create mode 100644 .gitignore mode change 120000 => 100644 linux/libSDL2.dylib mode change 120000 => 100644 linux/libSDL2.so diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..953afe8ad --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Allow Half-Life-specific files that would otherwise be ignored +!lib/public/game_controls.lib +!lib/public/SDL2.lib +!utils/procinfo/lib/win32_vc6/procinfo.lib +!utils/vgui/lib/win32_vc6/vgui.lib diff --git a/linux/.gitignore b/linux/.gitignore index cf7b7b2ba..bf0cdfe9e 100644 --- a/linux/.gitignore +++ b/linux/.gitignore @@ -4,6 +4,10 @@ *.dylib # Allow Half-Life-specific files that would otherwise be ignored +!libSDL2.dylib +!libSDL2.so +!libSDL2-2.0.0.dylib +!libSDL2-2.0.0.dylib.dSYM/Contents/Resources/DWARF/libsdl2-2.0.0.dylib !libSDL2-2.0.so.0 !libSDL2-2.0.so.0.dbg !vgui.so diff --git a/linux/libSDL2.dylib b/linux/libSDL2.dylib deleted file mode 120000 index 0384b98c6..000000000 --- a/linux/libSDL2.dylib +++ /dev/null @@ -1 +0,0 @@ -libSDL2-2.0.0.dylib \ No newline at end of file diff --git a/linux/libSDL2.dylib b/linux/libSDL2.dylib new file mode 100644 index 000000000..0384b98c6 --- /dev/null +++ b/linux/libSDL2.dylib @@ -0,0 +1 @@ +libSDL2-2.0.0.dylib \ No newline at end of file diff --git a/linux/libSDL2.so b/linux/libSDL2.so deleted file mode 120000 index 027f051ae..000000000 --- a/linux/libSDL2.so +++ /dev/null @@ -1 +0,0 @@ -libSDL2-2.0.so.0 \ No newline at end of file diff --git a/linux/libSDL2.so b/linux/libSDL2.so new file mode 100644 index 000000000..027f051ae --- /dev/null +++ b/linux/libSDL2.so @@ -0,0 +1 @@ +libSDL2-2.0.so.0 \ No newline at end of file