build: print an error when manually run

Inform people of where to download this project.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-09-11 20:53:37 +08:00
parent b8e049ea79
commit e3556b0ecb

View File

@ -30,6 +30,14 @@ mkdir -p $output/bin
echo "${TRAVIS_TAG}" > $output/VERSION echo "${TRAVIS_TAG}" > $output/VERSION
if [ -z ${TRAVIS_TAG} ]
then
echo "This repository is designed to be run in the Travis CI system."
echo "Please download the prebuilt distribution for your platform at:"
echo "https://github.com/im-tomu/fomu-toolchain/releases/latest"
exit 1
fi
checksum_output() { checksum_output() {
set +x set +x
hashes="sha1 sha256 sha512" hashes="sha1 sha256 sha512"