Emacs: Run 'go install' instead of 'go build' to use cache

master
Pierre Neidhardt 2016-05-17 19:05:17 +07:00
parent 1c8f1d99f7
commit 248e36168d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
(local-set-key (kbd "C-c d") 'godoc)
(local-set-key (kbd "M-.") #'godef-jump)
(local-set-key (kbd "C-<f10>") 'go-eval-buffer)
(set (make-local-variable 'compile-command) "go build")))
(set (make-local-variable 'compile-command) "go install")))
(define-skeleton go-main
"Insert main function with basic includes."