From 2794aa623af65d98efd106fcb90c5a1aff344e14 Mon Sep 17 00:00:00 2001 From: Subhomoy Haldar Date: Fri, 19 Nov 2021 22:53:35 +0530 Subject: [PATCH] tools: include `vls.log` in the .gitignore files for new V projects (#12522) --- .gitignore | 3 +++ cmd/tools/vcreate.v | 1 + cmd/tools/vcreate_test.v | 1 + 3 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 1bc6bf6822..2f5e0a6536 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,6 @@ flake.nix .envrc thirdparty/stdatomic/nix/cpp/*.h + +# ignore VLS log +vls.log diff --git a/cmd/tools/vcreate.v b/cmd/tools/vcreate.v index e14797951d..c6e39cb759 100644 --- a/cmd/tools/vcreate.v +++ b/cmd/tools/vcreate.v @@ -74,6 +74,7 @@ fn gen_gitignore(name string) string { '*.so', '*.dylib', '*.dll', + 'vls.log', '', ].join('\n') } diff --git a/cmd/tools/vcreate_test.v b/cmd/tools/vcreate_test.v index fd09616f51..eb60302021 100644 --- a/cmd/tools/vcreate_test.v +++ b/cmd/tools/vcreate_test.v @@ -34,6 +34,7 @@ fn init_and_check() ? { '*.so', '*.dylib', '*.dll', + 'vls.log', '', ].join('\n') }