pgweb/script/check_assets.sh

10 lines
355 B
Bash
Raw Normal View History

2017-10-24 23:11:02 -05:00
#!/bin/bash
if grep -q 'go/src/github.com/sosedoff/pgweb' ./pkg/data/bindata.go
then
echo "=========================================================="
echo "ERROR: Bindata contains development references to assets!"
echo "Fix with 'make assets' and commit the change."
echo "=========================================================="
exit 1
fi