2023-08-25 17:04:01 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2023-09-10 03:17:24 -04:00
|
|
|
clang -g -ansi -Weverything -o xighlight xighlight.c
|
|
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -o xighlight xighlight.c
|
2023-09-10 10:16:39 -04:00
|
|
|
cat xighlight.c | valgrind --show-leak-kinds=all --leak-check=full --track-origins=yes ./xighlight
|
2023-08-25 17:04:01 -04:00
|
|
|
|
|
|
|
exit
|