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

export THREADS=${THREADS:-$(nproc)}

cd $(dirname $0)

git submodule update --init

pushd unrpyc
make install
popd

./vencode.sh

trim() {
  convert -trim "$@" "$@"
  optipng -o7 "$@"
}

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

./iencode.sh
./aencode.sh