From 9b3aa4deea69f922519312106bc4834d3be392af Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 May 2024 20:04:42 +0200 Subject: invert .gitignore --- .gitignore | 48 +++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 25 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 2932e47..314d81e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,31 +1,29 @@ -# Allowlisting gitignore template for GO projects prevents us -# from adding various unwanted local files, such as generated -# files, developer configurations or IDE-specific files etc. -# -# Recommended: Go.AllowList.gitignore - -# Ignore everything -* +# Created by https://www.toptal.com/developers/gitignore/api/go +# Edit at https://www.toptal.com/developers/gitignore?templates=go -# But not these files... -!.gitignore +### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib -!*.go -!go.sum -!go.mod +# Test binary, built with `go test -c` +*.test -!README.md -!LICENSE +# Output of the go coverage tool, specifically when used with LiteIDE +*.out -!.envrc -!justfile -!*.nix -!*.toml -!/flake.lock +# Dependency directories (remove the comment below to include it) +vendor/ -!/content/**/*.md -!/static/**/* -!/templates/* +# Go workspace file +go.work -# ...even if they are in subdirectories -!*/ +# End of https://www.toptal.com/developers/gitignore/api/go +/netlify/.netlify/ +/website/ -- cgit 1.4.1