mirror of
https://github.com/loewexy/pdnsmanager.git
synced 2025-01-16 03:02:22 +01:00
27 lines
308 B
Bash
Executable file
27 lines
308 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd frontend
|
|
if ! npm run lint
|
|
then
|
|
echo "Frontend lint failed"
|
|
exit 1
|
|
fi
|
|
cd ..
|
|
|
|
cd backend/src
|
|
if ! composer run-script lint
|
|
then
|
|
echo "Backend lint failed"
|
|
exit 2
|
|
fi
|
|
cd ../..
|
|
|
|
cd backend/test
|
|
if ! ./test.sh all
|
|
then
|
|
echo "Backend test failed"
|
|
exit 3
|
|
fi
|
|
cd ../..
|
|
|
|
exit 0
|