xighlight/compile.sh

10 lines
217 B
Bash
Raw Normal View History

2023-08-25 17:04:01 -04:00
#!/bin/bash
set -xe
gcc -ansi -Wall -Wextra -Wpedantic -o xighlight xighlight.c
clang -ansi -Weverything -o xighlight xighlight.c
cat xighlight.c | valgrind --show-leak-kinds=all --leak-check=full ./xighlight
exit