;dev: gitignore cleanup

This commit is contained in:
Simon Michael 2025-03-05 15:56:16 -10:00
parent a1de9148f2
commit f1c5772204
2 changed files with 35 additions and 32 deletions

65
.gitignore vendored
View File

@ -1,3 +1,5 @@
# For troubleshooting: git check-ignore -v --no-index PATHS
# misc stuff # misc stuff
_* _*
*~ *~
@ -14,30 +16,20 @@ _*
.vscode .vscode
tags tags
TAGS TAGS
/debug.log .obsidian
/tools/pandoc-demote-headers stylish-haskell.yaml
/tools/pandoc-drop-html-blocks *.m4-e
/tools/pandoc-drop-html-inlines
/tools/pandoc-drop-links
/tools/pandoc-drop-notes
/tools/pandoc-drop-toc
/tools/generatetimeclock
# Tricksy rules ignoring some typical temp files. # test files
# For troubleshooting: git check-ignore --verbose PATHS... /[0-9]*
# 1- or 2-character filenames, maybe with an extension; but not directories *.j
[a-z0-9] [a-z0-9]
[a-z0-9].* [a-z0-9].*
[a-z0-9][a-z0-9] [a-z0-9][a-z0-9]
[a-z0-9][a-z0-9].*
![a-z0-9]/ ![a-z0-9]/
![a-z0-9].*/ ![a-z0-9].*/
![a-z0-9][a-z0-9]/ ![a-z0-9][a-z0-9]/
![a-z0-9][a-z0-9].*/ ![a-z0-9][a-z0-9].*/
# files/directories beginning with a number
/[0-9]*
*.j
*.sw[op]
# haskell stuff # haskell stuff
*.dyn_hi *.dyn_hi
@ -53,31 +45,42 @@ cabal.sandbox.config
dist/ dist/
dist-newstyle/ dist-newstyle/
.ghc.environment.* .ghc.environment.*
stack*.yaml.lock
.stack-work/
/Shake /Shake
/.shake.html /.shake.html
.stack-work/
/lsp/
Setup Setup
modules*.svg
packages*.svg
/*.packages
# hledger stuff # hledger stuff
#*.webmanual.md
old old
/.old .old
/log /log
*.log
/profs/* /profs/*
/*.prof.* /*.prof.*
/tmp
/bench*
/bin/** /bin/**
!/bin/*.hs !/bin/*.hs
!/bin/*.sh !/bin/*.sh
!/bin/*.md !/bin/*.md
/.latest.* /bin/*_.hs
hledger/test/cli/addons
tools/generatejournal
tools/simplebench
/examples/[1-9]*.journal /examples/[1-9]*.journal
*.webmanual.md /hledger/test/cli/addons
*.m4-e /tools/generatejournal
stack*.yaml.lock /tools/relnotes
bench /tools/simplebench
/tools/pandoc-demote-headers
/tools/pandoc-drop-html-blocks
/tools/pandoc-drop-html-inlines
/tools/pandoc-drop-links
/tools/pandoc-drop-notes
/tools/pandoc-drop-toc
/tools/generatetimeclock
# hledger-web stuff # hledger-web stuff
/config /config
@ -89,13 +92,10 @@ hledger-web/yesod-devel/
.hledger-web_client_session_key.aes .hledger-web_client_session_key.aes
# sandstorm stuff # sandstorm stuff
.vagrant # .vagrant
*.spk # *.spk
# recent stuff # recent stuff
/commands
/.obsidian
/.github/workflows/README
/checks /checks
/headroom-templates /headroom-templates
.headroom.yaml .headroom.yaml
@ -111,3 +111,4 @@ hledger-web/yesod-devel/
/hledger-web/demo/ /hledger-web/demo/
/doc/ghrelnotes.md /doc/ghrelnotes.md
.aider* .aider*
/doc/RELEASING2.md

2
doc/tldr/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
upstream