dotnet-installer/package_tool/setup/test_setup.sh
2015-10-22 10:23:47 -07:00

22 lines
No EOL
551 B
Bash
Executable file

install_dependencies(){
# Add LLdb 3.6 package source
echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main" | tee /etc/apt/sources.list.d/llvm.list
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
#Install Deps
apt-get update
apt-get install -y debhelper build-essential devscripts git liblttng-ust-dev lldb-3.6-dev
}
install_bats(){
git clone https://github.com/sstephenson/bats.git
cd bats
./install.sh /usr/local
}
setup(){
install_dependencies
install_bats
}
setup