The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/go_executable_build.sh

12 lines
709 B

#!/usr/bin/env bash
GOOS=linux
GOARCH=amd64
env GOOS=$GOOS GOARCH=$GOARCH go build -o bin/benchmark benchmark.go
env GOOS=$GOOS GOARCH=$GOARCH go build -o bin/soldier aws-experiment-launch/experiment/soldier/main.go
env GOOS=$GOOS GOARCH=$GOARCH go build -o bin/commander aws-experiment-launch/experiment/commander/main.go
env GOOS=$GOOS GOARCH=$GOARCH go build -o bin/txgen client/txgen/main.go
aws s3 cp bin/benchmark s3://unique-bucket-bin/benchmark --acl public-read-write
aws s3 cp bin/soldier s3://unique-bucket-bin/soldier --acl public-read-write
aws s3 cp bin/commander s3://unique-bucket-bin/commander --acl public-read-write
aws s3 cp bin/txgen s3://unique-bucket-bin/txgen --acl public-read-write