17 lines
197 B
Bash
Executable file
17 lines
197 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd frontend
|
|
if ! npm run lint
|
|
then
|
|
echo "Frontend lint failed"
|
|
exit 1
|
|
failed
|
|
|
|
cd backend
|
|
if ! composer run-script lint
|
|
then
|
|
echo "Backend lint failed"
|
|
exit 2
|
|
fi
|
|
|
|
exit 0 |