aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-02 09:27:27 -0500
committerDrew DeVault <sir@cmpwn.com>2018-03-02 09:27:44 -0500
commit3836d240c9aa26615e7d768a57436d171edc3831 (patch)
tree3b83517117f5cb81ef73bbb85bcc745496274965
parentcea98463c9fa551c81407edefe48a4fb2763ced0 (diff)
Switch to vgo
-rw-r--r--.gitignore2
-rw-r--r--Makefile24
-rw-r--r--aerc.go (renamed from cmd/aerc/main.go)0
-rw-r--r--go.mod9
4 files changed, 10 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index 144e4e5..cc49a55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
.go
-/aerc
+/aerc2
log
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0386860..0000000
--- 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 3030ee9..3030ee9 100644
--- a/cmd/aerc/main.go
+++ b/aerc.go
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..cc52cd8
--- /dev/null
+++ b/go.mod
@@ -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
+)