10 lines
190 B
Plaintext
Executable File
10 lines
190 B
Plaintext
Executable File
set -e
|
|
PURPLE='\033[0;35m'
|
|
NC='\033[0m' # No Color
|
|
|
|
printf "${PURPLE}Running pre-commit tests.${NC}\n"
|
|
npm test
|
|
python manage.py test --noinput
|
|
set +e
|
|
|
|
printf "${PURPLE}Tests passed.${NC}\n" |