2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 22:05:21 +00:00
Files
vinyldns/bin/build.sh
Paul James Cleary f0726ecb37 Initial code release
2018-07-31 14:26:07 -04:00

35 lines
579 B
Bash
Executable File

#!/usr/bin/env bash
DIR=$( cd $(dirname $0) ; pwd -P )
echo "Verifying code..."
#${DIR}/verify.sh
#step_result=$?
step_result=0
if [ ${step_result} != 0 ]
then
echo "Failed to verify build!!!"
exit ${step_result}
fi
echo "Func testing the api..."
${DIR}/func-test-api.sh
step_result=$?
if [ ${step_result} != 0 ]
then
echo "Failed API func tests!!!"
exit ${step_result}
fi
echo "Func testing the portal..."
${DIR}/func-test-portal.sh
step_result=$?
if [ ${step_result} != 0 ]
then
echo "Failed Portal func tests!!!"
exit ${step_result}
fi
exit 0