15 lines
367 B
Bash
Executable File
15 lines
367 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# script/cibuild.local:
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
source version
|
|
|
|
cd kontor-echo
|
|
|
|
go build -ldflags "-X kontor-api-echo/internal/globals.Version=0.4.0-SNAPSHOT -X kontor-api-echo/internal/globals.Commit=`git rev-parse HEAD` -X kontor-api-echo/internal/globals.Date=`date +%Y-%m-%dT%H:%M:%S`" -o ~/.local/bin/kontor-echo cmd/kontor-echo/main.go
|
|
|