#!/bin/bash
set -euxo pipefail
echo "Building protobuf files"
rm -rf pb/*.pb.go
protoc --go_out=. pb/*.proto
go build ./...
go build ./cli/lbryschema-cli.go