summaryrefslogtreecommitdiff
path: root/src/qbuild/docker/compile.sh
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 00:08:48 +0300
committerWolfy-J <[email protected]>2019-05-04 00:08:48 +0300
commit8a2f79a622e9b3b6e20718a257bfdaaf8dbb8747 (patch)
treeec41356d3e421284f44d8c82f3b297e5c8ab2c7a /src/qbuild/docker/compile.sh
parent29a87eb5df249c3559fdfea3b6b0cc296021e271 (diff)
console command
Diffstat (limited to 'src/qbuild/docker/compile.sh')
-rw-r--r--src/qbuild/docker/compile.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qbuild/docker/compile.sh b/src/qbuild/docker/compile.sh
deleted file mode 100644
index 0c85124f..00000000
--- a/src/qbuild/docker/compile.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.Version=${RR_VERSION}"
-LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.BuildTime=$(date +%FT%T%z)"
-
-# Verify all external modules
-go mod init
-
-# Build the binary
-CGO_ENABLED=0 go build -v -ldflags "$LDFLAGS -extldflags '-static'" -o "rr" \ No newline at end of file