#!/usr/bin/env bash

set -euo pipefail

build() {
  pushd $(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)
    yarn --force --check-cache --inline-builds install --frozen-lockfile --mutex file:../../../../yarn.mutex
    yarn --mutex file:../../../../yarn.mutex build
  popd
}

all() {
  build
}
