~exprez135/mountaen

ref: 8057a410ee57c26aa960a1a6a92cb8184907623f mountaen/src/projects/arvelie/build.sh -rwxr-xr-x 429 bytes
8057a410Nate Ijams Remove Fosstodon reference. 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

clang-format -i arvelie.h
clang-format -i main.c

gcc -std=c89 -DDEBUG -Wall -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined main.c -o arvelie
# tcc -Wall main.c -o arvelie

echo "Valid:"
./arvelie
./arvelie 1986-03-22
./arvelie 19Q13

echo "Errors:"
./arvelie 2020-04-AG
./arvelie 20@10
./arvelie 20A15