restructure + parser + readme updates

This commit is contained in:
Nicholas Orlowsky 2023-09-07 19:33:22 -04:00
parent c726e6cf28
commit b4265fe9c3
No known key found for this signature in database
GPG key ID: 24C84C4DDAD95065
10 changed files with 778 additions and 149 deletions

View file

@ -1,4 +1,4 @@
.PHONY: format
.PHONY: format lint build build-release build-docker run debug
build:
g++ main.cpp -g -o anthracite
@ -10,7 +10,16 @@ build-docker:
docker build . -t anthracite
run: build
./anthracite
./anthracite 8080
debug: build
gdb --args ./anthracite 8080
format:
clang-format *.cpp -i
lint:
clang-tidy *.cpp
lint-fix:
clang-tidy *.cpp -fix -fix-errors