summaryrefslogtreecommitdiff
path: root/check.sh
blob: 82ebe7cbfbef598266b236437a99a553a780efec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

mypy -p pypaste || exit $?

for f in $(find pypaste -type f); do
    flake8 ${f} || exit $?
done

if [[ ! -d build ]]; then
    meson setup build || exit $?
fi

destdir=$(mktemp -d)

meson install --destdir=${destdir} -C build || exit $?

tree ${destdir}