aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 7ad27120171ecb3fe494e03851366d17867f7b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ ! -e config.h ]; then
  cp config.def.h config.h
fi

if which clang-format > /dev/null; then
  clang-format -i ./*.c ./*.h ./*/*.c ./*/*.h
fi

mk clean
mk o.rio

mv o.rio ryudo