ci.sh 125 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1 2 3 4 5 6
#!/bin/bash
set -ex

./fmt.sh -- --write-mode=diff
if [ -z "$TARGET" ]
then
Jeremy Soller's avatar
Jeremy Soller committed
7
    make all
Jeremy Soller's avatar
Jeremy Soller committed
8
    make test
Jeremy Soller's avatar
Jeremy Soller committed
9 10
else
    make libc
Jeremy Soller's avatar
Jeremy Soller committed
11
fi