![Jeff Widman](/assets/img/avatar_default.png)
A common pattern is to build the source artifacts within a *build* dir. For example, the wiki instructions for [building `wireshark` on `macOS` specify to create a `./build` directory](https://gitlab.com/wireshark/wireshark/-/wikis/BuildingAndInstalling#macos): ``` mkdir build && cd build && cmake ../ && make ``` So this commit adds this directory to `.gitignore` to prevent accidentally committing build artifacts. The specific format `/*build*/` protects against the following: 1. The leading slash makes sure only top-level directories that match this pattern are ignored. 2. The trailing slash makes sure that only directories (and not files) are ignored. 3. The wildcards catch all the various variations on `build` folder name that are used...
173 lines
3 KiB
Text
173 lines
3 KiB
Text
#
|
|
# This file is tracked by git for the wireshark repository, and thus
|
|
# should only contain ignore entries common to all wireshark developers.
|
|
# To ignore files specific to your local repository, for example files
|
|
# generated by your editor, add them to your repository exclude file
|
|
# (.git/info/exclude) or your global ~/.gitignore_global. For details
|
|
# see:
|
|
# https://help.github.com/articles/ignoring-files
|
|
#
|
|
|
|
# Note that this affects tools other than git. For example, ripgrep (rg)
|
|
# and The Silver Searcher (ag) will obey this file by default.
|
|
|
|
# Compiled or generated source #
|
|
################################
|
|
*.dll
|
|
*.exe
|
|
*.la
|
|
*.lai
|
|
*.lo
|
|
*.obj
|
|
*.pyc
|
|
*.so*
|
|
*.[oa]
|
|
*.dylib
|
|
*grammar.out
|
|
*grammar.[ch]
|
|
*scanner.c
|
|
*_dict.c
|
|
*_lex.h
|
|
init.lua
|
|
epan/dissectors/dcerpc/idl2wrs
|
|
epan/dissectors/dcerpc/*/packet-dcerpc-*.[hc]
|
|
epan/dissectors/mesa
|
|
epan/dissectors/xcbproto
|
|
epan/dissectors/packet-ncp2222.c
|
|
epan/dissectors/dissectors.c
|
|
epan/dissectors/dissectors.in.txt
|
|
epan/dtd_parse.c
|
|
epan/dtd_preparse.c
|
|
epan/uat_load.c
|
|
epan/wslua/declare_wslua.h
|
|
epan/wslua/register_wslua.c
|
|
epan/wslua/taps.txt
|
|
epan/wslua/taps_wslua.c
|
|
epan/ps.c
|
|
plugins/epan/*/plugin.c
|
|
plugins/wiretap/*/plugin.c
|
|
plugins/codecs/*/plugin.c
|
|
plugins/epan/mate/mate_parser.c
|
|
tools/lemon/lemon
|
|
tshark-tap-register.c
|
|
wiretap/ascend.c
|
|
wiretap/ascend.h
|
|
wiretap/k12text.c
|
|
wireshark-tap-register.c
|
|
|
|
# CMake #
|
|
##################
|
|
/*build*/
|
|
CMakeCache.txt
|
|
CMakeFiles
|
|
CMakeLists.txt.user*
|
|
cmake_install.cmake
|
|
CPackConfig.cmake
|
|
CPackSourceConfig.cmake
|
|
lib/
|
|
WiresharkConfig.cmake
|
|
WiresharkConfigVersion.cmake
|
|
wireshark.pc
|
|
run/
|
|
build.ninja
|
|
rules.ninja
|
|
.ninja_deps
|
|
.ninja_log
|
|
epan/dissectors/asn1/*/*-stamp
|
|
epan/dissectors/pidl/*-stamp
|
|
epan/dissectors/dcerpc/*-stamp
|
|
|
|
# Doc #
|
|
########
|
|
*.html
|
|
*.[14]
|
|
AUTHORS.git
|
|
AUTHORS-SHORT
|
|
AUTHORS-SHORT-FORMAT
|
|
help/faq.txt
|
|
pod2htm[di].tmp
|
|
wireshark.pod
|
|
docbook/developer-guide-toc.hhc
|
|
docbook/developer-guide.hhp
|
|
docbook/developer-guide*.xml
|
|
docbook/user-guide-toc.hhc
|
|
docbook/user-guide.hhp
|
|
docbook/user-guide*.xml
|
|
docbook/*-guide-*.pdf
|
|
docbook/ws?g_html/
|
|
docbook/ws?g_html_chunked/
|
|
docbook/ws?g_chm/
|
|
docbook/release-notes-*.pdf
|
|
docbook/release-notes.txt
|
|
docbook/wsluarm
|
|
docbook/wsluarm_src/
|
|
wsar_html/
|
|
wsar_html.zip
|
|
|
|
# Qt #
|
|
######
|
|
/ui/qt/__/
|
|
/ui/qt/*.qm
|
|
/ui/qt/**/moc_*.cpp
|
|
/ui/qt/i18n.qrc
|
|
/ui/qt/qrc_*.cpp
|
|
/ui/qt/ui_*.h
|
|
/ui/qt/console.lua
|
|
/wireshark-qt*
|
|
|
|
# Windows Stuff #
|
|
#################
|
|
*.bsc
|
|
*.dir/
|
|
*.dsp
|
|
*.dsw
|
|
*.chm
|
|
*.exp
|
|
*.lib
|
|
*.ilk
|
|
*.manifest
|
|
*.pdb
|
|
*.nativecodeanalysis.xml
|
|
*.rc
|
|
!file_dlg_win32.rc
|
|
*.res
|
|
*.vcxproj*
|
|
/Copying.txt
|
|
/News.txt
|
|
/README.txt
|
|
/README.windows.txt
|
|
Win32/
|
|
Wireshark.opensdf
|
|
Wireshark.sdf
|
|
Wireshark.sln
|
|
Wireshark.*.suo
|
|
x64/
|
|
_libs_check_
|
|
doc/ws.css
|
|
packaging/nsis/all-manifest.nsh
|
|
/packaging/portableapps/WiresharkPortable/
|
|
wireshark-win??-libs*/
|
|
|
|
# Misc #
|
|
########
|
|
.vagrant
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*~
|
|
.DS_Store
|
|
cscope.*
|
|
tags
|
|
TAGS
|
|
macosx-support-libs
|
|
packaging/macosx/Info.plist
|
|
packaging/macosx/osx-dmg.sh
|
|
packaging/macosx/PkgInfo
|
|
packaging/nsis/config.nsh
|
|
packaging/nsis/qt-dll-manifest.nsh
|
|
packaging/portableapps/Files/
|
|
packaging/portableapps/appinfo.ini
|
|
vgcore.*
|
|
.pytest_cache/
|
|
test/*.log
|