| 1234567891011121314151617181920 |
- #!/bin/bash
- for project_file in `ls plugins/*/src/tsconfig.json`
- do
- echo Linting project \"$project_file\"
- ./node_modules/.bin/tslint -c tslint.json -p $project_file
- if [ $? -gt 0 ]
- then
- echo
- echo Aborting loop.
- echo Please, fix the errors of \"$project_file\" to continue.
- echo
- exit
- else
- echo
- echo Project in excelent shape! :\)
- echo
- fi
- done
|