@@ -6,14 +6,14 @@ OUTPUT_DIR="output"
66PLATFORMS=" darwin/amd64" # amd64 only as of go1.5
77PLATFORMS=" $PLATFORMS windows/amd64 windows/386" # arm compilation not available for Windows
88PLATFORMS=" $PLATFORMS linux/amd64 linux/386"
9- PLATFORMS=" $PLATFORMS linux/ppc64 linux/ppc64le"
10- PLATFORMS=" $PLATFORMS linux/mips64 linux/mips64le" # experimental in go1.6
11- PLATFORMS=" $PLATFORMS freebsd/amd64"
12- PLATFORMS=" $PLATFORMS netbsd/amd64" # amd64 only as of go1.6
13- PLATFORMS=" $PLATFORMS openbsd/amd64" # amd64 only as of go1.6
14- PLATFORMS=" $PLATFORMS dragonfly/amd64" # amd64 only as of go1.5
15- PLATFORMS=" $PLATFORMS plan9/amd64 plan9/386" # as of go1.4
16- PLATFORMS=" $PLATFORMS solaris/amd64" # as of go1.3
9+ # PLATFORMS="$PLATFORMS linux/ppc64 linux/ppc64le"
10+ # PLATFORMS="$PLATFORMS linux/mips64 linux/mips64le" # experimental in go1.6
11+ # PLATFORMS="$PLATFORMS freebsd/amd64"
12+ # PLATFORMS="$PLATFORMS netbsd/amd64" # amd64 only as of go1.6
13+ # PLATFORMS="$PLATFORMS openbsd/amd64" # amd64 only as of go1.6
14+ # PLATFORMS="$PLATFORMS dragonfly/amd64" # amd64 only as of go1.5
15+ # PLATFORMS="$PLATFORMS plan9/amd64 plan9/386" # as of go1.4
16+ # PLATFORMS="$PLATFORMS solaris/amd64" # as of go1.3
1717PLATFORMS=" $PLATFORMS linux/arm64"
1818
1919for PLATFORM in $PLATFORMS ; do
@@ -26,18 +26,18 @@ for PLATFORM in $PLATFORMS; do
2626 eval $CMD || FAILURES=" ${FAILURES} ${PLATFORM} "
2727done
2828
29- # ARM builds
30- PLATFORMS_ARM=" linux freebsd netbsd"
31- for GOOS in $PLATFORMS_ARM ; do
32- GOARCH=" arm"
33- # build for each ARM version
34- for GOARM in 7 6 5; do
35- BIN_FILENAME=" ${OUTPUT_DIR} /${NAME} -${GOOS} -${GOARCH}${GOARM} "
36- CMD=" GOARM=${GOARM} GOOS=${GOOS} GOARCH=${GOARCH} go build -v -ldflags \" -s -w -extldflags '-static'\" -o ${BIN_FILENAME} $@ "
37- echo " ${CMD} "
38- eval " ${CMD} " || FAILURES=" ${FAILURES} ${GOOS} /${GOARCH}${GOARM} "
39- done
40- done
29+ # # ARM builds
30+ # PLATFORMS_ARM="linux freebsd netbsd"
31+ # for GOOS in $PLATFORMS_ARM; do
32+ # GOARCH="arm"
33+ # # build for each ARM version
34+ # for GOARM in 7 6 5; do
35+ # BIN_FILENAME="${OUTPUT_DIR}/${NAME}-${GOOS}-${GOARCH}${GOARM}"
36+ # CMD="GOARM=${GOARM} GOOS=${GOOS} GOARCH=${GOARCH} go build -v -ldflags \"-s -w -extldflags '-static'\" -o ${BIN_FILENAME} $@"
37+ # echo "${CMD}"
38+ # eval "${CMD}" || FAILURES="${FAILURES} ${GOOS}/${GOARCH}${GOARM}"
39+ # done
40+ # done
4141
4242cp application.yml " ${OUTPUT_DIR} /application.yml"
4343cp -r static " ${OUTPUT_DIR} /static" # https://github.com/ProtobufBot/Client-UI 前端编译产物dist
0 commit comments