This commit is contained in:
Roman Volovoy
2026-06-04 19:08:10 +02:00
parent 6d7fdefc22
commit dbb47e6933
3 changed files with 28 additions and 1 deletions

View File

@@ -19,7 +19,12 @@ cc-run(){
file="$1"
shift
cc -std=c99 "${file}" -o "${file}.out" -Wall -Wextra -Werror && \
if command -v norminette &>/dev/null
then
norminette "${file}"
fi
cc -std=c99 "${file}" -o "${file}.out" -Wall -Wextra -Werror -fsanitize=address && \
"./${file}.out" "$@"
cc-clean