add code quality runner
This commit is contained in:
parent
0e08a84842
commit
e1626e73f7
5
Makefile
5
Makefile
|
@ -6,3 +6,8 @@ tool-gofumpt:
|
||||||
|
|
||||||
fmt: tool-gofumpt
|
fmt: tool-gofumpt
|
||||||
gofumpt -w --extra .
|
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"
|
||||||
|
|
Loading…
Reference in a new issue