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:
parent
f9fab20f58
commit
ef5716f8d6
@ -8,6 +8,6 @@ before_script:
|
||||
script:
|
||||
- ./scripts/licensecheck.sh
|
||||
- go build ./...
|
||||
- ./scripts/golint.sh
|
||||
- golint -set_exit_status ./...
|
||||
- go vet ./...
|
||||
- go test -v ./...
|
||||
|
1
AUTHORS
1
AUTHORS
@ -12,3 +12,4 @@ Contributors
|
||||
Justin Kim <justin@digitalocean.com>
|
||||
Ricky Medina <rm@do.co>
|
||||
Charlie Drage <charlie@charliedrage.com>
|
||||
Michael Koppmann <me@mkoppmann.at>
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user