From 78d29804db4582b5f358840279a7f6f91230ffcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Mon, 24 Jun 2024 15:58:46 +0800 Subject: [PATCH] gitignore cleanup (#1672) --- .gitignore | 124 ++++++++++++++++++++++++++++------------------------- 1 file changed, 66 insertions(+), 58 deletions(-) diff --git a/.gitignore b/.gitignore index 32a62a1d..107db616 100644 --- a/.gitignore +++ b/.gitignore @@ -6,9 +6,6 @@ *~ *.swp -# C stuff -*.o - # Windows stuff *.obj *.exe @@ -26,17 +23,6 @@ # gdb stuff .gdb_history -# Autotools stuff -.deps -.dirstamp -Makefile -Makefile.in - -# Libtool stuff -.libs -*.lo -*.la - # ctags stuff TAGS tags @@ -45,93 +31,105 @@ tags cscope* # Stuff made by our makefiles -*.pc -*.log *.trs -## The initial / makes these files only get ignored in particular directories. -/autom4te.cache - # configure in progress +*.err +*.tmp /.cyg* /confdefs.* +/conftest /conftest.* -# Libtool adds these, at least sometimes +# files generated by autotools (`./autogen.sh`) +## The initial / makes these files only get ignored in particular directories. +/aclocal.m4 +/autom4te.cache +/build-aux/ +/configure +/config.h.in /m4/libtool.m4 /m4/ltoptions.m4 /m4/ltsugar.m4 /m4/ltversion.m4 /m4/lt~obsolete.m4 +/Makefile.in -/aclocal.m4 -compile -config.cache -config.guess +# files generated by configure (`mkdir build; cd build && ../configure`) +*.log +*.pc +.deps/ +config.h config.log config.status -config.sub -configure -configure.lineno -depcomp -config.h -config.h.in -install-sh +evconfig-private.h libtool -ltmain.sh -missing +Makefile stamp-h1 stamp-h2 +# other generated config files (which command?) +config.cache +config.guess +config.sub + # files generated by doxygen doxygen CMakeDoxyfile.in CMakeDoxygenDefaults.cmake Doxyfile.doxygen -# sample binaries +# files generated by make (`mkdir build; cd build && ../configure && make`) +.dirstamp +.libs/ +*.la +*.lo +*.o +event-config.h + +## make generated files under /sample +becat dns-example event-read-fifo +event-test hello-world -http-server http-connect -le-proxy +http-server https-client https-client-mbedtls -ssl-client-mbedtls +le-proxy signal-test +ssl-client-mbedtls time-test -event-test watch-timing -becat ws-chat-server -# test binaries -test-driver +## make generated files under /test bench bench_cascade bench_http bench_httpclient regress -regress.gen.c -regress.gen.h rpcgen-attempted +test-changelist +test-closed +test-driver test-dumpevents test-eof -test-closed +test-fdleak test-init +test-kq-collision test-ratelim test-script.sh test-time test-weof -test-changelist -test-fdleak -test-kq-collision -event-config.h -evconfig-private.h +# files generated by event_rpcgen.py (`python3 event_rpcgen.py test/regress.rpc`) +regress.gen.c +regress.gen.h -# Files generated by cmake +# files generated by cmake (`cmake -B build && cmake --build build`) +/build/ CMakeCache.txt CMakeFiles/ CTestTestfile.cmake @@ -140,30 +138,39 @@ DartConfiguration.tcl LibeventConfig.cmake LibeventConfigVersion.cmake LibeventTargets*.cmake +Uninstall.cmake bin/ cmake_install.cmake -Uninstall.cmake compile_commands.json +event.dir +event_core.dir +event_extra.dir +install_manifest.txt lib/ tmp/ verify_tests.sh verify_tests.bat -event.dir -event_core.dir -event_extra.dir *.vcxproj *.sln *.filters -install_manifest.txt -test-export/build -# ninja +# files generated by Xcode (`cmake -B build -G Xcode && cmake --build build`) +*.resp +*.d +*.dia +Debug/ +Release/ +XCBuildData/ +CMakeScripts/ +libevent.xcodeproj/ + +# files generated by Ninja (`cmake -B build -G Ninja && cmake --build build`) build.ninja rules.ninja .ninja_deps .ninja_log -# make dist +# make dist (`mkdir build; cd build && ../configure && make distcheck`) /COPYING /INSTALL *.tar.gz @@ -178,5 +185,6 @@ rules.ninja # VS/VSCode .vs/ .vscode/ + # IntelliJ/Clion .idea/