Browse Source

Check JavaScript / CSS files for errors/style using Drone CI (#42).

pull/48/head
Joachim Bauch 9 years ago
parent
commit
0e0b2cb05d
  1. 9
      .drone.yml
  2. 1
      .eslintignore
  3. 2
      run-eslint.sh

9
.drone.yml

@ -0,0 +1,9 @@
pipeline:
eslint:
image: nextcloudci/eslint:eslint-1
commands:
- ./run-eslint.sh
stylelint:
image: nextcloudci/stylelint:stylelint-1
commands:
- ./run-stylelint.sh

1
.eslintignore

@ -0,0 +1 @@
js/simplewebrtc.js

2
run-eslint.sh

@ -8,4 +8,4 @@ if [ -z "$ESLINT" ]; then
fi
echo Checking scripts with $ESLINT ...
find -name "*.js" -not -name "simplewebrtc.js" -print0 | xargs -0 $ESLINT
find -name "*.js" -print0 | xargs -0 $ESLINT
Loading…
Cancel
Save