Skip to content
Snippets Groups Projects
Commit b6b866cd authored by Maxim Khlobystov's avatar Maxim Khlobystov
Browse files

Running linter only on the files inside bigbluebutton-html5 folder.

parent 0c38ed32
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,17 @@ if [[ $files = *"bigbluebutton-html5"* ]]; then
meteor npm install
if [ $1 = linter ]
then
html5_files=""
list=$(echo $files | tr " " "\n")
for file in $list
do
if [[ $file = bigbluebutton-html5* ]] ; then
html5_files+=" $file"
fi
done
cd ..
bigbluebutton-html5/node_modules/.bin/eslint --ext .jsx,.js $files
bigbluebutton-html5/node_modules/.bin/eslint --ext .jsx,.js $html5_files
elif [ $1 = acceptance_tests ]
then
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment