7b09f3fcac
The package_tool isn't really part of our product, so moving it to the tools directory.
27 lines
No EOL
728 B
Bash
Executable file
27 lines
No EOL
728 B
Bash
Executable file
#
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
#
|
|
|
|
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 |