mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-01-12 22:53:44 +08:00
12 lines
392 B
Bash
Executable File
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
|