From 7b6a9d1350fc83f2c433e713b6eb67cfbbd12c98 Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Wed, 24 May 2023 20:29:26 -0700 Subject: [PATCH] Added scc target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b884108..b0a12f5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ VERSION := 0.9.5.3 -.PHONY: lint vis clean common client server passwd subpkgs install uninstall reinstall +.PHONY: lint vis clean common client server passwd\ + subpkgs install uninstall reinstall scc ## Tag version of binaries with build info wrt. ## GO111MODULE(=on) and vendor/ setup vs. $GOPATH pkg builds @@ -86,6 +87,10 @@ else $(MAKE) BUILDOPTS=$(BUILDOPTS) -C xsd endif +scc: + @scc --exclude-dir=bacillus,vendor,garbled\ + --cocomo-project-type=rlabs,3,1.12,1,1 + vis: @which go-callvis >/dev/null 2>&1; \ stat=$$?; if [ $$stat -ne "0" ]; then \