restructure + parser + readme updates
This commit is contained in:
parent
c726e6cf28
commit
b4265fe9c3
10 changed files with 778 additions and 149 deletions
13
Makefile
13
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue