Check for qmake and make in build.sh
This commit is contained in:
13
build.sh
13
build.sh
@@ -20,12 +20,25 @@ then
|
|||||||
echo "rustc could not be found. Please install it and try again."
|
echo "rustc could not be found. Please install it and try again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v cargo &> /dev/null
|
if ! command -v cargo &> /dev/null
|
||||||
then
|
then
|
||||||
echo "cargo could not be found. Please install it and try again."
|
echo "cargo could not be found. Please install it and try again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! command -v qmake &> /dev/null
|
||||||
|
then
|
||||||
|
echo "qmake could not be found. Please install QT and try again."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v make &> /dev/null
|
||||||
|
then
|
||||||
|
echo "make could not be found. Please install it and try again."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
VERSION=$(cat src/version.h |cut -d\" -f2)
|
VERSION=$(cat src/version.h |cut -d\" -f2)
|
||||||
echo "Compiling SilentDragonLite $VERSION with $JOBS threads..."
|
echo "Compiling SilentDragonLite $VERSION with $JOBS threads..."
|
||||||
CONF=silentdragon-lite.pro
|
CONF=silentdragon-lite.pro
|
||||||
|
|||||||
Reference in New Issue
Block a user