From 9be0218980729a833c4f5939846948ba16248d35 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Fri, 4 Mar 2016 16:28:32 -0700 Subject: [PATCH] support go 1.5 --- README.md | 2 +- build.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16ce71e5..3c94c39f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Tile38 is an open source (MIT licensed), in-memory geolocation data store, spati - `tile38-cli ` - Command line interface tool ## Building Tile38 -Tile38 can be compiled and used on Linux, OSX, Windows, FreeBSD, and probably others since the codebase is 100% Go. We support both 32 bit and 64 bit systems. [Go 1.6+](https://golang.org/dl/) must be installed on the build machine. +Tile38 can be compiled and used on Linux, OSX, Windows, FreeBSD, and probably others since the codebase is 100% Go. We support both 32 bit and 64 bit systems. [Go](https://golang.org/dl/) must be installed on the build machine. To build everything simply: ``` diff --git a/build.sh b/build.sh index 80f227f8..dbf2d382 100755 --- a/build.sh +++ b/build.sh @@ -6,11 +6,13 @@ BUILD_TIME=$(date +%FT%T%z) GIT_SHA=$(git rev-parse --short HEAD) LDFLAGS="-X github.com/tidwall/tile38/core.Version=${VERSION} -X github.com/tidwall/tile38/core.BuildTime=${BUILD_TIME} -X github.com/tidwall/tile38/core.GitSHA=${GIT_SHA}" +export GO15VENDOREXPERIMENT=1 + cd $(dirname "${BASH_SOURCE[0]}") OD="$(pwd)" # copy all files to an isloated directory. -TMP="$(mktemp -d -t tile38)" +TMP="$(mktemp -d -t tile38.XXXX)" function rmtemp { rm -rf "$TMP" }