mirror of
https://github.com/directorz/mailfull-go.git
synced 2025-12-18 18:17:03 +00:00
Merge pull request #19 from directorz/feature/vendoring_glide
Feature/vendoring glide
This commit is contained in:
6
Gomfile
6
Gomfile
@@ -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'
|
|
||||||
6
Makefile
6
Makefile
@@ -10,19 +10,19 @@ VERSION=$(patsubst "%",%,$(lastword $(shell grep 'const Version' version.go)))
|
|||||||
default: build
|
default: build
|
||||||
|
|
||||||
installdeps:
|
installdeps:
|
||||||
gom install
|
glide install -v
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o build/mailfull_$(GOOS)_$(GOARCH)/mailfull cmd/mailfull/mailfull.go
|
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o build/mailfull_$(GOOS)_$(GOARCH)/mailfull cmd/mailfull/mailfull.go
|
||||||
|
|
||||||
build-linux-amd64:
|
build-linux-amd64:
|
||||||
docker run --rm -v $(PWD):/go/src/github.com/directorz/mailfull-go -w /go/src/github.com/directorz/mailfull-go \
|
docker run --rm -v $(PWD):/go/src/github.com/directorz/mailfull-go -w /go/src/github.com/directorz/mailfull-go \
|
||||||
-e GOOS=linux -e GOARCH=amd64 golang:1.7 \
|
-e GOOS=linux -e GOARCH=amd64 golang:1.7.1 \
|
||||||
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o "build/mailfull_linux_amd64/mailfull" cmd/mailfull/mailfull.go
|
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o "build/mailfull_linux_amd64/mailfull" cmd/mailfull/mailfull.go
|
||||||
|
|
||||||
build-linux-386:
|
build-linux-386:
|
||||||
docker run --rm -v $(PWD):/go/src/github.com/directorz/mailfull-go -w /go/src/github.com/directorz/mailfull-go \
|
docker run --rm -v $(PWD):/go/src/github.com/directorz/mailfull-go -w /go/src/github.com/directorz/mailfull-go \
|
||||||
-e GOOS=linux -e GOARCH=386 golang:1.7 \
|
-e GOOS=linux -e GOARCH=386 golang:1.7.1 \
|
||||||
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o "build/mailfull_linux_386/mailfull" cmd/mailfull/mailfull.go
|
go build -v -ldflags "-X main.gittag=`git rev-parse --short HEAD`" -o "build/mailfull_linux_386/mailfull" cmd/mailfull/mailfull.go
|
||||||
|
|
||||||
release: release-linux-amd64 release-linux-386
|
release: release-linux-amd64 release-linux-386
|
||||||
|
|||||||
22
glide.lock
generated
Normal file
22
glide.lock
generated
Normal file
@@ -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: []
|
||||||
7
glide.yaml
Normal file
7
glide.yaml
Normal file
@@ -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
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package mailfull
|
package mailfull
|
||||||
|
|
||||||
// Version is a version number.
|
// Version is a version number.
|
||||||
const Version = "v0.0.5"
|
const Version = "v0.0.6"
|
||||||
|
|||||||
Reference in New Issue
Block a user