diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 24 | ||||
-rw-r--r-- | aerc.go (renamed from cmd/aerc/main.go) | 0 | ||||
-rw-r--r-- | go.mod | 9 |
4 files changed, 10 insertions, 25 deletions
@@ -1,3 +1,3 @@ .go -/aerc +/aerc2 log diff --git a/Makefile b/Makefile deleted file mode 100644 index 03868605..00000000 --- a/Makefile +++ /dev/null @@ -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 diff --git a/cmd/aerc/main.go b/aerc.go index 3030ee99..3030ee99 100644 --- a/cmd/aerc/main.go +++ b/aerc.go @@ -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 +) |