22 lines
No EOL
551 B
Bash
Executable file
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 |