1
0
mirror of https://github.com/cnrancher/kube-explorer.git synced 2025-05-06 15:07:10 +00:00
kube-explorer/scripts/dev

14 lines
200 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)
./download
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-extldflags -static -s"
CGO_ENABLED=0 go build \
-ldflags \
"$LINKFLAGS" \
-o bin/kube-explorer