summaryrefslogtreecommitdiff
path: root/setup.sh
blob: bcd9b2613445956fecbf99b05d1ad7ccc51c625c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

cd $(dirname $0)

git submodule update --init

pushd unrpyc
make install
popd

trim() {
  for f in "$@"; do
    convert -trim "$f" "$f"
  done
  optipng -o7 "$@"
}

trim www/dump/ui/bt-cf-unchecked.png www/dump/ui/bt-cf-checked.png

make ${MAKEOPTS}