Browse Source

Remove compile checker it should be a github action when enabling it ever again

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/3557/head
Joas Schilling 6 years ago
parent
commit
c83b6b5031
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 19
      .drone.yml
  2. 2
      Makefile
  3. 11
      check-vuejs-builds.sh
  4. 11
      run-stylelint.sh

19
.drone.yml

@ -1,22 +1,3 @@
#kind: pipeline
#name: check-builds
#
#steps:
# - name: check-vuejs-builds
# image: nextcloudci/node:node-7
# commands:
# - make npm-init
# - ./check-vuejs-builds.sh
#
#trigger:
# branch:
# - master
# - stable*
# event:
# - pull_request
# - push
#
#---
kind: pipeline
name: compatibility

2
Makefile

@ -60,7 +60,6 @@ appstore:
rsync -a \
--exclude=babel.config.js \
--exclude=/build \
--exclude=check-vuejs-builds.sh \
--exclude=composer.json \
--exclude=composer.lock \
--exclude=docs \
@ -81,7 +80,6 @@ appstore:
--exclude=.php_cs.dist \
--exclude=.php_cs.cache \
--exclude=README.md \
--exclude=run-*lint.sh \
--exclude=src \
--exclude=.stylelintignore \
--exclude=stylelint.config.js \

11
check-vuejs-builds.sh

@ -1,11 +0,0 @@
#!/bin/bash
set -e
# Build the Vue files
make build-js-production
git status
bash -c "[[ ! \"`git status --porcelain js`\" ]] || ( echo 'Uncommitted changes in built Vue files' && exit 1 )"
bash -c "[[ ! \"`git status --porcelain package-lock.json`\" ]] || ( git diff package-lock.json && echo 'Uncommitted changes in package-lock.json' && exit 1 )"

11
run-stylelint.sh

@ -1,11 +0,0 @@
#!/bin/sh
set -e
STYLELINT=$(which stylelint || true)
if [ -z "$STYLELINT" ]; then
echo "Can't find command \"stylelint\" in $PATH"
exit 1
fi
echo Checking stylesheets with $STYLELINT ...
$STYLELINT -f verbose css
Loading…
Cancel
Save