about summary refs log tree commit diff stats
path: root/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore48
1 files changed, 19 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index ebdb921..c034bd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,34 +1,24 @@
-# 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
+### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Go.gitignore
 
-# Ignore everything
-*
+# Binaries for programs and plugins
+/*
+*.exe
+*.exe~
+*.dll
+*.so
+*.dylib
+!*.*
+!/**/
 
-# But not these files...
-!/.gitignore
-!/.editorconfig
-!/.envrc.sample
+# Test binary, built with `go test -c`
+*.test
 
-!/README.md
-!/LICENSE
-!/justfile
-!/config.toml
+# Output of the go coverage tool, specifically when used with LiteIDE
+*.out
 
-!/nix
-!*.nix
+# Go workspace file
+go.work
 
-!/.golangci.yaml
-!/go.sum
-!/go.mod
-!/gomod2nix.toml
-!*.go
-
-!*.tmpl
-!*.js
-!/frontend
-
-# ...even if they are in subdirectories
-!*/
+/.env
+/.envrc
+/.pre-commit-config.yaml