0ad/.gitignore
Ralph Sennhauser 6da4e606d4
Add cppcheck workflow
Add a workflow for linting and add a cppcheck job.

The job is using cppcheck provided by package manager. Existing errors
are suppressed to get going with CI linting, ideally tho the suppression
list would be empty. Some of the suppressed errors are only found with
more recent cppcheck than what is available in the runner.

Also remove old arclint cppcheck setup.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-03-30 18:06:01 +02:00

99 lines
1.4 KiB
Text

# Built and prebuilt binaries
binaries/system/*
!binaries/system/*.bat
!binaries/system/readme.txt
# Workspaces
build/workspaces/*
!build/workspaces/clean-workspaces.sh
!build/workspaces/update-workspaces.bat
!build/workspaces/update-workspaces.sh
# Libraries
libraries/macos
libraries/win32
libraries/source/cxxtest-4.4/*
libraries/source/fcollada/*
libraries/source/nvtt/*
libraries/source/premake-core/*
libraries/source/spidermonkey/*
!libraries/source/spidermonkey/mozconfig
libraries/source/spirv-reflect/*
!libraries/source/**/build.sh
!libraries/source/**/patches/
# Tools
archives/
build/bin/
source/tools/spirv/rules.*.json
# Linting
cppcheck-error.log
# Files generated by running premake5
build/premake/.gccmachine.tmp
build/premake/.gccver.tmp
# Docs build folder
docs/doxygen/output/
# Build files (cpp)
*.a
*.dylib
*.dSYM
*.exp
*.exe
*.ilk
*.lib
*.pdb
*.so
*.so.*
# Build files (tools)
*.pyc
*.pyo
__pycache__/
# Build files (libs)
*.o
*.lo
*.la
# Translation files
binaries/data/mods/public/gui/credits/texts/translators.json
*.po
*.pot
# Packaged mods and tarballs
*.pyromod
*.zip
*.tar
*.tar.bz2
*.tar.gz
*.tar.xz
# Art source files
*.blend
*.obj
*.psd
*.raw
# Art unsupported by the engine
binaries/data/mods/**/*.bmp
binaries/data/mods/**/*.jpg
# Vulkan SPIR-V shaders
binaries/data/mods/*/shaders/spirv
# Windows specific data
desktop.ini
Thumbs.db
# macOS specific data
.DS_Store
# IDE files
/.vs/
/.vscode/
/.idea/