platform/packages/wings/provision.sh
Tobe O 13e863f295 Add 'packages/wings/' from commit '361e7e5f4a3ec6463f0348bdc8eb0a3b7549340a'
git-subtree-dir: packages/wings
git-subtree-mainline: 61c716502b
git-subtree-split: 361e7e5f4a
2020-02-16 12:21:46 -05:00

24 lines
745 B
Bash
Executable file

#!/usr/bin/env bash
# Install Dart, globally.
sudo apt-get update
sudo apt-get install apt-transport-https
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get update
sudo apt-get install -y dart
export PATH="$PATH:/usr/lib/dart/bin"
echo 'export PATH="$PATH:/usr/lib/dart/bin"' >> ~vagrant/.profile
# Install build tooling, CMake, etc.
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
# Build the library.
pushd /vagrant
mkdir -p cmake-build-vagrant
pushd cmake-build-vagrant
cmake ..
cmake --build . --target install
popd
popd