#!/bin/sh

if [ $(basename $PWD) = "scripts" ]; then
  cd ..
fi

cd app
./make.sh
cd -

cp -rf files/* app/release/

cd app/release/
../../scripts/mk-app.sh
cd -