Task: Simplify development

The base directory has all shell scripts in scripts/
and all example/test files in examples/.
A Makefile provides all the commands with helpful information.
If a developer simply types `make` then vendor is properly updated,
the code is formatted, linted, tested, built, acceptance test run,
and installed.

Linting errors resolved.
Ignored test case (`TestParsePath`) updated to work as expected.
This commit is contained in:
kenjones
2017-09-20 19:40:33 -04:00
committed by Mike Farah
parent 1ed8e7017e
commit 86639acf70
33 changed files with 351 additions and 53 deletions

9
scripts/devtools.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
go get -u github.com/alecthomas/gometalinter
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/mitchellh/gox
go get -u github.com/kardianos/govendor
# install all the linters
gometalinter --install --update