You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
637 B
33 lines
637 B
all: build test
|
|
|
|
reset:
|
|
powershell -executionpolicy bypass .\scripts\reset_build.ps1
|
|
|
|
%.cpp : %.rl
|
|
ragel -o $@ $<
|
|
|
|
rageldev: ragel
|
|
make test > test.txt
|
|
vim test.txt
|
|
|
|
ragel:
|
|
ragel -o .\ansi_parser.cpp .\ansi_parser.rl
|
|
|
|
build: ansi_parser.cpp
|
|
meson compile -j 10 -C builddir
|
|
|
|
test: build
|
|
./builddir/runtests
|
|
|
|
run: build test
|
|
powershell "cp ./builddir/roguish.exe ."
|
|
./roguish
|
|
|
|
clean:
|
|
meson compile --clean -C builddir
|
|
|
|
debug:
|
|
gdb --nx -x .gdbinit builddir/roguish.exe
|
|
|
|
cover:
|
|
gcovr --html coverage/index.html --gcov-ignore-errors=no_working_dir_found --exclude "scratchpad.*" --exclude "subprojects.*" --html-nested coverage/
|
|
|