spreed/check-simplewebrtc-bundle.sh
Joas Schilling 291e909153
Simplify the diff check and use the same way the server uses it nowerdays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-12 14:31:42 +02:00

9 lines
235 B
Bash
Executable file

#!/bin/bash
set -e
# Rebuild the bundled SimpleWebRTC
make bundle-simplewebrtc
git status
bash -c "[[ ! \"`git status --porcelain js/simplewebrtc/bundled.js`\" ]] || ( echo 'Uncommitted changes in bundled SimpleWebRTC' && exit 1 )"