1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 09:48:36 +01:00
Files
cli/scripts/build
Darren Shepherd fd5da291c4 Initial Commit
2016-05-26 20:00:15 -07:00

10 lines
179 B
Bash
Executable File

#!/bin/bash
set -e
source $(dirname $0)/version
cd $(dirname $0)/..
mkdir -p bin
go build -ldflags "-X main.VERSION=$VERSION -linkmode external -extldflags -static" -o bin/cli