~exprez135/mountaen

ref: 9367e127d7de798f5e37bb534568c9b16623a35b mountaen/src/projects/arvelie/build.sh -rwxr-xr-x 460 bytes
9367e127Nate Ijams Update links and info. 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

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

# cc -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
clang -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