1
0
mirror of https://github.com/containous/traefik.git synced 2025-10-08 19:33:30 +03:00
Files
traefik/script/binary
2015-10-13 22:56:44 +02:00

14 lines
214 B
Bash
Executable File

#!/bin/bash
set -e
if ! test -e gen.go; then
echo >&2 'error: generate must be run before binary'
false
fi
rm -f dist/traefik
# Build binaries
CGO_ENABLED=0 go build -a -installsuffix nocgo -o dist/traefik .