antlr/.travis/before-install-linux-dart.sh

11 lines
408 B
Bash
Raw Normal View History

2020-01-19 15:22:06 +08:00
#!/bin/bash
set -euo pipefail
sudo apt-get -y install apt-transport-https
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get -q update
sudo apt-get -y install dart
export PATH="$PATH:/usr/lib/dart/bin"