From cb6e9ce2c5b3fd117d2b84ab120029ce50008b0f Mon Sep 17 00:00:00 2001 From: teru Date: Thu, 29 Sep 2016 12:08:07 +0900 Subject: [PATCH] Use Glide instead of gom --- Gomfile | 6 ------ Makefile | 2 +- glide.lock | 22 ++++++++++++++++++++++ glide.yaml | 7 +++++++ 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 Gomfile create mode 100644 glide.lock create mode 100644 glide.yaml diff --git a/Gomfile b/Gomfile deleted file mode 100644 index c7ebd62..0000000 --- a/Gomfile +++ /dev/null @@ -1,6 +0,0 @@ -gom 'github.com/BurntSushi/toml' -gom 'github.com/armon/go-radix' -gom 'github.com/bgentry/speakeasy' -gom 'github.com/jsimonetti/pwscheme' -gom 'github.com/mattn/go-isatty' -gom 'github.com/mitchellh/cli' diff --git a/Makefile b/Makefile index a1dc559..0053b5c 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ VERSION=$(patsubst "%",%,$(lastword $(shell grep 'const Version' version.go))) default: build installdeps: - gom install + glide install -v build: go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o build/mailfull_$(GOOS)_$(GOARCH)/mailfull cmd/mailfull/mailfull.go diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..76c8ba5 --- /dev/null +++ b/glide.lock @@ -0,0 +1,22 @@ +hash: 451657f03f297af9163863497cf6c2f60abfe12d88a282f5aab6deb865d91119 +updated: 2016-09-29T12:05:32.00075722+09:00 +imports: +- name: github.com/armon/go-radix + version: 4239b77079c7b5d1243b7b4736304ce8ddb6f0f2 +- name: github.com/bgentry/speakeasy + version: a1ccbf2c40dfc8ce514b5c5c6e6d1429ea6880da +- name: github.com/BurntSushi/toml + version: 99064174e013895bbd9b025c31100bd1d9b590ca +- name: github.com/jsimonetti/pwscheme + version: 76804708ecad54773871b35dbaa44f517973e395 + subpackages: + - ssha +- name: github.com/mattn/go-isatty + version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8 +- name: github.com/mitchellh/cli + version: fcf521421aa29bde1d93b6920dfce826d7932208 +- name: golang.org/x/sys + version: 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9 + subpackages: + - unix +testImports: [] diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..00937dd --- /dev/null +++ b/glide.yaml @@ -0,0 +1,7 @@ +package: github.com/directorz/mailfull-go +import: +- package: github.com/BurntSushi/toml +- package: github.com/jsimonetti/pwscheme + subpackages: + - ssha +- package: github.com/mitchellh/cli