diff --git a/.gitignore b/.gitignore index 66fd13c..41c47b0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +# SonarQube +.scannerwork/ \ No newline at end of file diff --git a/sonar-scan b/sonar-scan new file mode 100755 index 0000000..7d8e8ca --- /dev/null +++ b/sonar-scan @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +source ./.sonar +${SONAR_BIN} \ + -Dsonar.projectKey=go-mail \ + -Dsonar.sources=. \ + -Dsonar.host.url=https://sonar.fritz.box \ + -Dsonar.login="$SONAR_TOKEN"