1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 23:16:22 +00:00

Initial Commit

This commit is contained in:
Alena Prokharchyk
2017-10-25 17:02:49 -07:00
commit 60574a70bb
54 changed files with 6626 additions and 0 deletions

10
scripts/build Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
source $(dirname $0)/version
cd $(dirname $0)/..
mkdir -p bin
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-linkmode external -extldflags -static -s"
CGO_ENABLED=0 go build -ldflags "-X main.VERSION=$VERSION $LINKFLAGS" -o bin/rke