mirror of
https://github.com/taigrr/github2mr.git
synced 2026-04-02 11:19:15 -07:00
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.
19 lines
328 B
Bash
Executable File
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 .."
|
|
|