From e1626e73f7d868364e64cdcfb842eb161e2253f1 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 22 Aug 2022 00:03:57 +0200 Subject: [PATCH] add code quality runner --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index c0b8d69..a35c091 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,8 @@ tool-gofumpt: fmt: tool-gofumpt gofumpt -w --extra . + +.ONESHELL: +run-code-quality-analysis: + export SONAR_TOKEN="$$SONAR_TOKEN_DEBLAN_MU_GO" + sonar-scanner -Dsonar.projectKey=deblan-mu-go -Dsonar.sources=. -Dsonar.host.url="$$SONAR_SERVER"