2019-07-12 12:57:25 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
2019-07-12 15:31:42 +03:00
|
|
|
|
|
|
|
# Build the Vue files
|
2019-07-12 12:57:25 +03:00
|
|
|
make build-js-production
|
|
|
|
|
2019-07-12 15:31:42 +03:00
|
|
|
git status
|
2019-07-12 12:57:25 +03:00
|
|
|
|
2019-07-12 15:31:42 +03:00
|
|
|
bash -c "[[ ! \"`git status --porcelain js`\" ]] || ( echo 'Uncommitted changes in built Vue files' && exit 1 )"
|
2019-07-25 12:45:47 +03:00
|
|
|
|
|
|
|
bash -c "[[ ! \"`git status --porcelain package-lock.json`\" ]] || ( git diff package-lock.json && echo 'Uncommitted changes in package-lock.json' && exit 1 )"
|