fix: fixed segfault
This commit is contained in:
parent
a153c4e22d
commit
01eb5ece55
2 changed files with 15 additions and 5 deletions
5
Makefile
5
Makefile
|
|
@ -43,6 +43,11 @@ prod: cmake-release
|
|||
run: build
|
||||
@ LANDER_DATA_DIR=data LANDER_BASE_URL=http://localhost:18080/ LANDER_API_KEY=test ./build/Debug/lander
|
||||
|
||||
.PHONY: valgrind
|
||||
valgrind: build
|
||||
@ LANDER_DATA_DIR=data LANDER_BASE_URL=http://localhost:18080/ LANDER_API_KEY=test \
|
||||
valgrind --tool=memcheck --error-exitcode=1 --track-origins=yes --leak-check=full ./build/Debug/lander
|
||||
|
||||
.PHONY: gdb
|
||||
gdb: build
|
||||
@ LANDER_DATA_DIR=data LANDER_BASE_URL=http://localhost:18080/ LANDER_API_KEY=test gdb --args ./build/Debug/lander
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue