Created
July 17, 2015 13:58
-
-
Save andrewhampton/75cb469a9e94bd72a160 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun go-coverage-current-file | |
(let ((coverage-file "/tmp/coverage.out") | |
(args (s-concat | |
"--coverprofile=" | |
coverage-file))) | |
(go-test-run args) | |
(go-coverage coverage-file))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment