Makefile raw
 1.PHONY: all run configure tidy format build
 2
 3all: configure tidy format build
 4
 5run:
 6	./build/browser
 7
 8configure:
 9	cmake -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
10
11tidy:
12	run-clang-tidy -p build -fix -j$$(nproc) 2>&1 | grep -v "warnings generated" || true
13
14format:
15	clang-format -i *.h *.cpp
16
17build:
18	cmake --build build -j$$(nproc)
19
20install:
21	cp build/browser ~/.local/bin/