Files
yarn/scripts/bootstrap-env-ubuntu.sh
Daniel Lo Nigro d2865a91bc Load GPG key from URL rather than keyserver (#1598)
Removes one point of failure (flaky GPG key servers)
2016-11-01 10:51:48 -07:00

12 lines
392 B
Bash
Executable File

#!/bin/bash
# Bootstraps a Yarn development environment on Ubuntu.
set -ex
# Add Yarn package repo - We require Yarn to build Yarn itself :D
sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update -qq
sudo apt-get install -y rpm lintian yarn
gem install fpm