~exprez135/mountaen

ref: df4a687a7a953620a9c541bf27816bdea466e019 mountaen/src/projects/arvelie/build.sh -rwxr-xr-x 428 bytes
df4a687aNate Ijams Add pages about time, tracking, journaling, and calendar. 1 year, 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.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

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

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