#!/bin/sh
rm -fr build dist
if [ -n "$1" ]; then
	yarn build-debug
else
	rm -fr next
	CSC_KEY_PASSWORD=`cat ~/Documents/Developer\ Rig\ Private\ Key\ Password.txt` yarn build
fi
