diff options
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -3,7 +3,16 @@ CFLAGS := "-Wno-builtin-declaration-mismatch" all: build build: - gcc main.c {{CFLAGS}} + gcc -o p4dcc main.c {{CFLAGS}} + +test TESTCASE="all": build + #!/usr/bin/env bash + if [[ {{TESTCASE}} = all ]]; then + bash tests/all.sh + else + bash tests/run.sh {{TESTCASE}} + fi clean: - rm a.out + rm p4dcc + rm -rf tests/tmp |
