Actual: The command make fails with /bin/sh: 1: goveralls: not found
Potential reason: The Makefile has the .PHONY target: all that may execute the targets: build, test, coverage. However, the command make fails as the prerequisites are not downloaded before executing the targets.
What changes were made in the PR:
Removed unnecessary strings attached with the .PHONY target.
Added the target setup in the all target so that golint and goveralls are installed before executing the build and coverage targets.
Expected: The command
make
executes successfully.Actual: The command
make
fails with/bin/sh: 1: goveralls: not found
Potential reason: The Makefile has the
.PHONY
target:all
that may execute the targets:build
,test
,coverage
. However, the commandmake
fails as the prerequisites are not downloaded before executing the targets.What changes were made in the PR:
.PHONY
target.setup
in theall
target so thatgolint
andgoveralls
are installed before executing thebuild
andcoverage
targets.