Skip to content

Commit

Permalink
Add check for required tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Oct 8, 2018
1 parent 068bccf commit 47836f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/generate_reports.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#! /bin/bash

if ! hash cmake 2>/dev/null \
|| ! hash abi-dumper 2>/dev/null \
|| ! hash abi-compliance-checker 2>/dev/null; then
echo "This script requires cmake, abi-dumper and abi-compliance-checker"
echo "On Ubuntu: apt-get install cmake abi-dumper abi-compliance-checker"
exit 1
fi

usage ()
{
echo "Usage: $0 [-o <output_folder> ] [-j <number of workers>] <old_rev> <new_rev>" 1>&2;
Expand Down

0 comments on commit 47836f0

Please sign in to comment.