Skip to content

Commit

Permalink
Add go-errcheck and go-lint to exec-path
Browse files Browse the repository at this point in the history
Allows both flymake (env PATH) and flycheck (exec-path) to find these programs.
  • Loading branch information
dougm committed Apr 29, 2014
1 parent 138ccde commit 4f3bfef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion recipes/go-errcheck.rcp
Expand Up @@ -2,4 +2,6 @@
:description "Program for checking for unchecked errors in go code"
:type go
:pkgname "github.com/kisielk/errcheck"
:post-init (el-get-envpath-prepend "PATH" (concat default-directory "bin")))
:post-init (progn
(add-to-list 'exec-path (concat default-directory "bin"))
(el-get-envpath-prepend "PATH" (concat default-directory "bin"))))
4 changes: 3 additions & 1 deletion recipes/go-lint.rcp
Expand Up @@ -4,4 +4,6 @@
:pkgname "github.com/golang/lint/golint"
:features golint
:load-path "src/github.com/golang/lint/misc/emacs"
:post-init (el-get-envpath-prepend "PATH" (concat default-directory "bin")))
:post-init (progn
(add-to-list 'exec-path (concat default-directory "bin"))
(el-get-envpath-prepend "PATH" (concat default-directory "bin"))))

0 comments on commit 4f3bfef

Please sign in to comment.