[VOL-5053] - Release build for votlha-lib-go
Makefile
--------
o Fixed target name, should be test-go-cover not test-go.
go.mod
go.sum
------
o update modules voltha-protos and protobuf
vendor/github.com/golang/protobuf/jsonpb/decode.go
vendor/github.com/opencord/voltha-protos/v5/LICENSE
vendor/modules.txt
---------------------------------------------------
o Edits triggered by targets mod-update and testOn branch dev-joey
makefiles/*
-----------
o Refresh library makefiles, pull in latest virtualenv.mk and lint/yaml/*
Change-Id: Id79363c85751f19ec405e5e85c5063e2e8af3911
diff --git a/Makefile b/Makefile
index d51c5c5..d9bdc16 100644
--- a/Makefile
+++ b/Makefile
@@ -139,8 +139,7 @@
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
.PHONY: test-go-cover
-test-go : gen-coverage-coverprofile gen-coverage-junit gen-coverage-cobertura
-
+test-go-cover : gen-coverage-coverprofile gen-coverage-junit gen-coverage-cobertura
## -----------------------------------------------------------------------
## Intent: Generate coverprofile data
@@ -173,6 +172,8 @@
)
$(if $(LOCAL_FIX_PERMS),chmod o-w "$(go-result-out)")
+ $(if $(LOCAL_FIX_PERMS),chmod o-w "$(go-cover-out)")
+
$(call banner-leave,Target $@)
## -----------------------------------------------------------------------
@@ -207,7 +208,7 @@
# Fix docker volume perms if building locally
$(if $(LOCAL_FIX_PERMS),touch "$(go-cover-xml)")
- $(if $(LOCAL_FIX_PERMS),chmod o+w "$(coverproifle-xml)")
+ $(if $(LOCAL_FIX_PERMS),chmod o+w "$(go-cover-xml)")
${GOCOVER_COBERTURA} < "$(go-cover-out)" > "$(go-cover-xml)"