2017-09-06 16:31:28 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Building protobuf files"
|
|
|
|
rm -rf pb/*.pb.go
|
|
|
|
protoc --go_out=. pb/*.proto
|
2017-11-08 03:41:07 +01:00
|
|
|
go build ./...
|
2017-11-09 04:01:32 +01:00
|
|
|
go build ./cli/lbryschema-cli.go
|
|
|
|
go build -o lbryschema-python-binding.so -buildmode=c-shared ./binding/lbryschema-python-binding.go
|