~exprez135/mountaen

ref: fe9c81091983bc098258089537114156c6f75824 mountaen/src/projects/arvelie/build.sh -rwxr-xr-x 507 bytes
fe9c8109Nate Ijams Update Arvelie to install properly. 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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

echo "INTALLING TO /usr/local/bin/arvelie"
cp arvelie /usr/local/bin/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