Switch to vgo
This commit is contained in:
parent
cea98463c9
commit
3836d240c9
|
@ -1,3 +1,3 @@
|
|||
.go
|
||||
/aerc
|
||||
/aerc2
|
||||
log
|
||||
|
|
24
Makefile
24
Makefile
|
@ -1,24 +0,0 @@
|
|||
PKGNAME = git.sr.ht/~sircmpwn/aerc2
|
||||
|
||||
GOPATH = $(shell pwd)/.go
|
||||
PKGPATH = .go/src/$(PKGNAME)
|
||||
|
||||
all: aerc
|
||||
|
||||
.go:
|
||||
mkdir -p $(dir $(PKGPATH))
|
||||
ln -fs $(shell dirname $(GOPATH)) $(PKGPATH)
|
||||
|
||||
get: .go
|
||||
env GOPATH=$(GOPATH) go get -d ./...
|
||||
|
||||
test: .go
|
||||
env GOPATH=$(GOPATH) go test ./...
|
||||
|
||||
aerc: .go
|
||||
env GOPATH=$(GOPATH) go build -o $@ ./cmd/$@
|
||||
|
||||
clean:
|
||||
rm -rf .go aerc
|
||||
|
||||
.PHONY: aerc get test clean
|
|
@ -0,0 +1,9 @@
|
|||
module "git.sr.ht/~sircmpwn/aerc2"
|
||||
|
||||
require (
|
||||
"github.com/go-ini/ini" v1.32.0
|
||||
"github.com/kyoh86/xdg" v0.0.0-20171127140545-8db68a8ea76a
|
||||
"github.com/mattn/go-isatty" v0.0.3
|
||||
"github.com/mattn/go-runewidth" v0.0.2
|
||||
"github.com/nsf/termbox-go" v0.0.0-20180129072728-88b7b944be8b
|
||||
)
|
Loading…
Reference in New Issue