Skip to content
Permalink
Browse files

Fail check if licensecheck missing

  • Loading branch information
nyalldawson committed Jun 4, 2018
1 parent 8b44b06 commit 48b117e0db02fc6921eb4dfc54370eb28f2c6840
Showing with 9 additions and 0 deletions.
  1. +9 −0 tests/code_layout/test_licenses.sh
@@ -5,6 +5,15 @@
INCLUDE_EXTENSIONS="h|cpp|hpp|py|c"
EXCLUDE_LIST="(.*\/(qtermwidget)\/|ui_defaults\\.h|CREDITS|TODO|README|URI|^[^.]*$|.*\\.(?!($INCLUDE_EXTENSIONS)$))"

# check for existance of licensecheck first
has_licensecheck=$( licensecheck )
if licensecheck ; then
echo "licensecheck installed!"
else
echo "licensecheck not installed!"
exit 1
fi

DIR=$(git rev-parse --show-toplevel)

pushd ${DIR} > /dev/null

0 comments on commit 48b117e

Please sign in to comment.
You can’t perform that action at this time.