Files
github2mr/.github/run-tests.sh
Steve Kemp a63e03b549 Initial release of github2mr.
This is the initial release which is fully-functional and works
for myself, self-hosted github enterprise installations, and
privately hosted gitbucket installs.

It has not been tested against other systems (gogs, gitea, etc),
but reports of success/failure or patches would be most welcome.
2020-01-17 20:05:39 +02:00

19 lines
328 B
Bash
Executable File

#!/bin/bash
# Install tools to test our code-quality.
go get -u golang.org/x/lint/golint
# Failures cause aborts
set -e
# Run the linter
echo "Launching linter .."
golint -set_exit_status ./...
echo "Completed linter .."
# Run the vet-checker.
echo "Launching go vet check .."
go vet ./...
echo "Completed go vet check .."