kompose/script/binary
Tomas Kral 3dd7689364 Move binary target to binary-cross
use binary target only for building for current platform
2016-08-11 11:00:07 +02:00

13 lines
229 B
Bash
Executable File

#!/bin/bash
set -e
# Get rid of existing binary
rm -f kompose
# Build binary
go build \
-tags experimental \
-o kompose \
-ldflags="-w -X github.com/skippbox/kompose/version.GITCOMMIT=${GITCOMMIT}" \
./cli/main