You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash
|
|
|
|
. $(dirname $0)/util
|
|
set -eu
|
|
|
|
: ${TARGETPLATFORM=$CLI_PLATFORM}
|
|
|
|
platformFlag=""
|
|
if [ -n "$TARGETPLATFORM" ]; then
|
|
platformFlag="--platform $TARGETPLATFORM"
|
|
fi
|
|
|
|
buildxCmd build $platformFlag \
|
|
--target "binaries" \
|
|
--output "type=local,dest=./bin/" \
|
|
.
|