spreed/check-vuejs-builds.sh
Joas Schilling b559bcc479
Remove vue/ because it's empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-18 13:14:11 +02:00

11 lines
354 B
Bash
Executable file

#!/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 )"