#!/bin/bash
set -x
# Get config
. ~/.config/jebbatime.conf
cd $JEBBATIMEGITROOT
make mrproper
make clean BOARD=pinetime
git submodule sync
git submodule update --init
make submodules
make -j`nproc` all BOARD=pinetime