-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathlint_js.sh
More file actions
executable file
·17 lines (13 loc) · 867 Bytes
/
lint_js.sh
File metadata and controls
executable file
·17 lines (13 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Get the directory that this script is in
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo -e "Linting JS"
(cd $SCRIPT_DIR/django_airavata/apps/api && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/static/common && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/auth && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/admin && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/groups && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/workspace/django-airavata-workspace-plugin-api && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/workspace && yarn && yarn run lint) || exit 1
(cd $SCRIPT_DIR/django_airavata/apps/dataparsers && yarn && yarn run lint) || exit 1
echo -e "All linting finished successfully!"
exit 0