mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
304 B
15 lines
304 B
#!/bin/bash
|
|
|
|
# aqui apenas reportamos, não impedimos o commit
|
|
./check_qa.sh
|
|
if [ $? -eq 1 ]
|
|
then
|
|
RED='\033[0;31m'
|
|
echo
|
|
echo -e "${RED}#### POR FAVOR, CORRIJA OS PROBLEMAS APONTADOS!!! ####${NC}"
|
|
echo
|
|
fi
|
|
|
|
# se os comandos a seguir falharem impedimos o commit
|
|
set -e
|
|
./check_migrations.sh
|
|
|