#!/bin/sh
set -e

make -C c
make -C cpp
ln -sf libqrcodegen.so ./c/libqrcodegen.so.1
ln -sf libqrcodegencpp.so ./cpp/libqrcodegencpp.so.1
(cd python && python3 qrcodegen-batch-test.py)
rm -rf ./c/libqrcodegen.so.1 ./cpp/libqrcodegencpp.so.1
make -C c clean
make -C cpp clean
