Replaced scripts/golint.sh with built-in golint flag. (#17)

* Replaced scripts/golint.sh with built-in golint flag.

Fixes issue #16.

Should I delete the scripts/golint.sh?

* Added @mkoppmann to the AUTHORS file.

* Delete golint.sh as it is not needed anymore
This commit is contained in:
Michael Koppmann 2016-10-05 02:26:25 +02:00 committed by Matt Layher
parent f9fab20f58
commit ef5716f8d6
3 changed files with 2 additions and 13 deletions

View File

@ -8,6 +8,6 @@ before_script:
script: script:
- ./scripts/licensecheck.sh - ./scripts/licensecheck.sh
- go build ./... - go build ./...
- ./scripts/golint.sh - golint -set_exit_status ./...
- go vet ./... - go vet ./...
- go test -v ./... - go test -v ./...

View File

@ -12,3 +12,4 @@ Contributors
Justin Kim <justin@digitalocean.com> Justin Kim <justin@digitalocean.com>
Ricky Medina <rm@do.co> Ricky Medina <rm@do.co>
Charlie Drage <charlie@charliedrage.com> Charlie Drage <charlie@charliedrage.com>
Michael Koppmann <me@mkoppmann.at>

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Verify that all files are correctly golint'd.
EXIT=0
GOLINT=$(golint ./...)
if [[ ! -z $GOLINT ]]; then
echo $GOLINT
EXIT=1
fi
exit $EXIT