adfinis-forks / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
0 stars 0 forks source link

make, gometalinter: not found #44

Open erickellerek1 opened 6 years ago

erickellerek1 commented 6 years ago

following the instructions in the Readme (master) I tried to invoke make to perform the tests. seems that a gometalinter dependency is missing...

make command fails with:

if [ -x travis_wait ]; then \
    travis_wait gometalinter --config=linter.json ./...; \
else \
    gometalinter --config=linter.json ./...; \
fi
/bin/sh: 4: gometalinter: not found
Makefile:28: recipe for target 'check' failed
make: *** [check] Error 127
go version
go version go1.10.3 linux/amd64

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
erickellerek1 commented 6 years ago
go get -u github.com/alecthomas/gometalinter
cd $GOPATH/src/github.com/alecthomas/gometalinter
go install .
gometalinter --install