2020-08-22 11:20:50 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
go get -u github.com/shuLhan/go-bindata/...
|
|
|
|
gobindata=`go env GOPATH`/bin/go-bindata
|
2020-09-30 10:54:58 +02:00
|
|
|
version=`$gobindata -version | grep ^go-bindata | cut -d ' ' -f2`
|
|
|
|
if [ "$version" != "4.0.0" ]; then
|
2020-08-22 11:20:50 +02:00
|
|
|
echo "FATAL: unexpected go-bindata version" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
2021-02-02 10:32:46 +01:00
|
|
|
$gobindata -nometadata -o cmd/ooniprobe/internal/bindata/bindata.go -pkg bindata data/...
|