From aae63f5eb53e053494c4bf797dc64bb2aea6fdc7 Mon Sep 17 00:00:00 2001 From: Subhomoy Haldar Date: Sun, 20 Nov 2022 12:43:33 +0000 Subject: [PATCH] tools: gitignore the bin/ folder in new V projects (created by `v init`) (#16493) --- cmd/tools/vcreate.v | 3 +++ cmd/tools/vcreate_test.v | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cmd/tools/vcreate.v b/cmd/tools/vcreate.v index f4e9a7d9cf..d5f44a7507 100644 --- a/cmd/tools/vcreate.v +++ b/cmd/tools/vcreate.v @@ -71,6 +71,9 @@ ${name} *.dylib *.dll +# Ignore binary output folders +bin/ + # Ignore common editor/system specific metadata .DS_Store .idea/ diff --git a/cmd/tools/vcreate_test.v b/cmd/tools/vcreate_test.v index 9ac4764992..ae16ea77fa 100644 --- a/cmd/tools/vcreate_test.v +++ b/cmd/tools/vcreate_test.v @@ -34,6 +34,9 @@ fn init_and_check() ! { '*.dylib', '*.dll', '', + '# Ignore binary output folders', + 'bin/', + '', '# Ignore common editor/system specific metadata', '.DS_Store', '.idea/',