Improve makefile and circleci config

Use gometalinter for linting
put build artifact in dist/
store artifacts in circleci

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin
2017-10-17 16:24:48 -04:00
parent b23d883ca5
commit e009b670f3
4 changed files with 72 additions and 33 deletions

26
gometalinter.json Normal file
View File

@@ -0,0 +1,26 @@
{
"Vendor": true,
"Deadline": "2m",
"Sort": ["linter", "severity", "path", "line"],
"EnableGC": true,
"WarnUnmatchedDirective": true,
"DisableAll": true,
"Enable": [
"deadcode",
"gofmt",
"goimports",
"golint",
"gosimple",
"ineffassign",
"interfacer",
"lll",
"misspell",
"unconvert",
"unparam",
"unused",
"vet"
],
"LineLength": 160
}