github.com/r8d8/go-ethereum@v5.5.2+incompatible/scripts/build.sh (about) 1 #!/usr/bin/env bash 2 3 # Handles building all packages from ./cmd/* EXCEPT for geth. 4 5 set -e 6 7 BINARY="$1" 8 FOLDERS=$(ls cmd) 9 10 for CMD in $FOLDERS; 11 do 12 if [ ! "$CMD" == "geth" ]; then 13 echo "Building $BINARY/$CMD ..." 14 go build -o $BINARY/$CMD ./cmd/$CMD 15 fi 16 done