Skip to content

unkn0wn107/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webserv

Simple http/1.1 (bis) server implemented in c++ for 42 school cursus

clang-format / clang-tidy

  1. Install llvm
  • Debian / Ubuntu : sudo apt update && sudo apt install clang-format clang-tidy
  • Fedora / centOS : sudo dnf upgrade && sudo dnf install llvm
  1. (Optional) Usage - automatic
  1. Usage - manual
  • Format all files : find . -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -o -name "*.tpp" | xargs clang-format -i
  • Static analysis : find . -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -o -name "*.tpp" | xargs clang-tidy -config=.clang-tidy