From 8c17a085f1321a30039d1583616b864c8dbc8277 Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Tue, 4 Jul 2023 16:46:48 +0300 Subject: [PATCH] .gitignore: refactor, unify & update (#1731) --- .gitignore | 78 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 56 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index c7892f41..0dc64a2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +#### Generic #### + # Object files *.o *.ko @@ -5,6 +7,7 @@ *.elf *.d *.DS_Store + # Precompiled Headers *.gch *.pch @@ -31,33 +34,22 @@ # Debug files *.dSYM/ *.su -source/.metadata/* -TS100/KiCad/TS100.bak -Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/ -Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/ -*.cache -Translation Editor/.vscode/ -Translation Editor/__pycache__/ +# Custom scripts & misc. files *.pyc *.lst *.mk *.list -source/Hexfile/ -source/Objects/ - -ci/artefacts/ -ci/secrets/unencrypted/ -codeship.aes -.vscode/settings.json # Auto generated files -source/Core/Inc/unit.h -source/Core/Gen/ +*.cache +codeship.aes +CoreCompileInputs.cache + # IDE configs .vs/* .settings/* -..cproject.swp +.cproject.swp # Visual Studios .vscode/* @@ -65,6 +57,7 @@ source/Core/Gen/ !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json +.vscode/settings.json # Eclipse .metadata @@ -120,11 +113,24 @@ local.properties .scala_dependencies .worksheet -# Jetbrains -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# source code tagging systems (GNU Global, ctags, cscope) +GPATH +GRTAGS +GTAGS +*tags +*tags/ +.*tags +.*tags/ +cscope.* +cscope/ +.cscope/ + + +#### Jetbrains: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm #### # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 # User-specific stuff +.idea/ .idea/**/workspace.xml .idea/**/tasks.xml .idea/**/usage.statistics.xml @@ -174,7 +180,35 @@ fabric.properties # Editor-based Rest Client .idea/httpRequests -CoreCompileInputs.cache -.vscode/settings.json + +#### IronOS project specific files #### + +# Binaries +source/Hexfile/ +source/Objects/ + +# Autogenerated +source/Core/Gen/ +source/Core/Inc/unit.h + +# Deploy +scripts/ci/artefacts/ +scripts/ci/secrets/unencrypted/ + +# Generated static local docs +site/ + +# Translations +Translations/__pycache__/ +Translation Editor/__pycache__/ +Translation Editor/.vscode/ + +# misc. source/compile_commands.json -.idea/ +source/.metadata/* + +# TS100 related +TS100/KiCad/TS100.bak +Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/ +Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/ +