-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildgo.sh
30 lines (22 loc) · 923 Bytes
/
buildgo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
fullbuild=${1:-0}
if [ "$fullbuild" -eq 1 ]
then
flags=()
fi
set -e
set -o pipefail
echo Building: go build "${flags[@]}" ./cmd/preg/preg.go
go build "${flags[@]}" ./cmd/preg/preg.go
echo Building: go build "${flags[@]}" ./cmd/rpcbench/rpcbench.go
go build "${flags[@]}" ./cmd/rpcbench/rpcbench.go
echo Building: go build "${flags[@]}" ./cmd/rpcnode/rpcnode.go
go build "${flags[@]}" ./cmd/rpcnode/rpcnode.go
echo Building: go build "${flags[@]}" ./cmd/runcmd/runcmd.go
go build "${flags[@]}" ./cmd/runcmd/runcmd.go
echo Building: go build "${flags[@]}" ./cmd/genresults/genresults.go
go build "${flags[@]}" ./cmd/genresults/genresults.go
echo Building: go build "${flags[@]}" ./cmd/localrun/localrun.go
go build "${flags[@]}" ./cmd/localrun/localrun.go
echo Building: go build "${flags[@]}" ./cmd/gettestconsids/gettestconsids.go
go build "${flags[@]}" ./cmd/gettestconsids/gettestconsids.go