From 3c18a7ec8753150ffaca2e63f919eb8b03c0f603 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Wed, 12 Apr 2017 11:34:54 -0700 Subject: [PATCH] Switch release tooling from goxc to relego, update the Bolt dependency, support arm64 --- .goxc.json | 6 ------ .relego.yaml | 33 +++++++++++++++++++++++++++++++++ glide.lock | 2 +- 3 files changed, 34 insertions(+), 7 deletions(-) delete mode 100644 .goxc.json create mode 100644 .relego.yaml diff --git a/.goxc.json b/.goxc.json deleted file mode 100644 index d65535833..000000000 --- a/.goxc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Arch": "arm amd64 386", - "Os": "linux darwin windows", - "ResourcesInclude": "README.md,static,templates,LICENSE,AUTHORS,CONTRIBUTORS,docs,cayley.cfg.example,data", - "ConfigVersion": "0.9" -} diff --git a/.relego.yaml b/.relego.yaml new file mode 100644 index 000000000..354ac2ed9 --- /dev/null +++ b/.relego.yaml @@ -0,0 +1,33 @@ +build: + - platform: src + - platform: linux + arch: + - amd64 + - arm64 + - arm + - "386" + - platform: darwin + arch: + - "386" + - amd64 + - platform: windows + arch: + - "386" + - amd64 +ld: + versionPath: "main.Version" + buildDatePath: "main.BuildDate" +mains: + - "./cmd/cayley" + - "./cmd/cayleyupgrade" +include: + - README.md + - LICENSE + - AUTHORS + - CONTRIBUTORS + - docs + - static + - templates + - cayley.cfg.example + - data +outputDir: "$GOPATH/bin" diff --git a/glide.lock b/glide.lock index fc2aa0fc5..c1aa1018f 100644 --- a/glide.lock +++ b/glide.lock @@ -4,7 +4,7 @@ imports: - name: github.com/badgerodon/peg version: 9e5f7f4d07ca576562618c23e8abadda278b684f - name: github.com/boltdb/bolt - version: 04a3e85793043e76d41164037d0d7f9d53eecae3 + version: a705895fdad108f053eae7ee011ed94a0541ee13 - name: github.com/cznic/mathutil version: f9551431b78e71ee24939a1e9d8f49f43898b5cd - name: github.com/davecgh/go-spew