#!/bin/bash

# exit on error
set -e

# This script is for building the app using e2e env.test vars found in this folder.
# NOTE: this script must be run from the project root

DIR="$(cd "$(dirname "$0")" && pwd)"

# source test specific env-vars for `build` and `start`
export $(cat "$DIR"/.env.test | sed 's/#.*//g' | xargs);

yarn run i18n:download
yarn run build
