General cleanup

This commit is contained in:
Henrik Lissner 2017-04-25 23:01:45 -04:00
parent 010bc8de7b
commit d20c8045ab
3 changed files with 4 additions and 5 deletions

View file

@ -26,9 +26,9 @@
(unless (file-directory-p gopath)
(error "GOPATH isn't set up (%s)" gopath))
(mapc (lambda (url)
(unless (file-directory-p (expand-file-name (concat "src/" url) gopath))
(sh "%s get -u '%s'" gobin url)
(setq changed t)))
(unless (file-directory-p (expand-file-name (concat "src/" url) gopath))
(sh "%s get -u '%s'" gobin url)
(setq changed t)))
'("github.com/nsf/gocode"
"github.com/motemen/gore"
"golang.org/x/tools/cmd/guru"