#!/bin/bash
set -u

# blergh.
# yarn has an insane build process.
# we will not build it.
# rationale:
# we only run yarn when doing things manually (not as part of the build).
# yarn gets stuff from yarnpkg.com ("carefully").
# we "carefully" get yarn from yarnpkg.com (see the "s"? so careful).

wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
yum -y install yarn
