mirror of https://github.com/ceph/go-ceph
makefile: remove shell loop that was ignoring errors
revive would only fail if rbd had errors due to the loop being in shell. Now we expand the modules list as arguments to revive which then invokes revive only once and properly handles errors. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
71d533d14f
commit
973def5658
2
Makefile
2
Makefile
|
@ -38,7 +38,7 @@ check-ceph-version:
|
|||
check:
|
||||
# Configure project's revive checks using .revive.toml
|
||||
# See: https://github.com/mgechev/revive
|
||||
@for d in $$(go list ./... | grep -v /vendor/); do revive -config .revive.toml $${d}; done
|
||||
revive -config .revive.toml $$(go list ./... | grep -v /vendor/)
|
||||
|
||||
# Do a quick compile only check of the tests and impliclity the
|
||||
# library code as well.
|
||||
|
|
Loading…
Reference in New Issue