Skip to content

Commit

Permalink
lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Jul 22, 2017
1 parent 2d6c2e3 commit 36b712d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,16 @@ windows_alias = "empty"
install_script = [
'''
command -v lcov >/dev/null 2>&1 || {
git clone https://github.com/linux-test-project/lcov.git
cd lcov
sudo make install
cd ..
rm -Rf ./lcov
if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
sudo apt-get update || true
sudo apt-get install -y clang
git clone https://github.com/linux-test-project/lcov.git
cd lcov
sudo make install
cd ..
rm -Rf ./lcov
fi
}
'''
]
Expand Down

0 comments on commit 36b712d

Please sign in to comment.