mirror of
https://github.com/vxcontrol/external-dns.git
synced 2026-07-21 22:26:22 -04:00
11 lines
244 B
Python
Executable File
11 lines
244 B
Python
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source $(dirname $0)/version
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
mkdir -p bin
|
|
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-linkmode external -extldflags -static -s"
|
|
go build -ldflags "-X main.VERSION=$VERSION $LINKFLAGS" -o bin/external-dns
|