Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go-projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ current GOPATH, or 'never to leave GOPATH untouched."
(setenv "GOPATH" go-projectile-tools-path)
(dolist (tool go-projectile-tools)
(let* ((url (cdr tool))
(cmd (concat "go get " (if flag (concat flag " ")) url))
(cmd (concat "go install " (if flag (concat flag " ")) url "@latest"))
(result (shell-command-to-string cmd)))
(message "Go tool %s: %s" (car tool) cmd)
(unless (string= "" result)
Expand All @@ -112,7 +112,7 @@ current GOPATH, or 'never to leave GOPATH untouched."
(defun go-projectile-update-tools ()
"Update go related tools."
(interactive)
(go-projectile-get-tools "-u"))
(go-projectile-get-tools))

(defun go-projectile-current-project-files ()
"Return a list of .go files for the current project."
Expand Down