#!/bin/sh

make distclean
./bootstrap.sh
./configure GUILE=$(which guile)
make -j24
make dist

TARBALL=$(guix pack -R -Sbloatrunner=bin -L .guix/modules bloatrunner)

cd /tmp/bloatrunner
chmod -R +w gnu
rm -rf /tmp/bloatrunner/*
tar -xf $TARBALL
bloatrunner/bloatrunner


