** exclusion rule

This commit is contained in:
Joseph Sawyer 2024-10-22 19:34:59 +01:00
commit 0a865f7b11
2 changed files with 5 additions and 23 deletions

View file

@ -45,6 +45,6 @@ jobs:
# The organization and project arguments (see /o and /k) are displayed # The organization and project arguments (see /o and /k) are displayed
# on the project dashboard in SonarCloud. # on the project dashboard in SonarCloud.
run: | run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"Ombi-app_Ombi" /o:"ombi-app" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="src/Ombi.Store/Migrations/*" .\.sonar\scanner\dotnet-sonarscanner begin /k:"Ombi-app_Ombi" /o:"ombi-app" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="src/Ombi.Store/Migrations/**"
dotnet build src/Ombi.sln -c NonUiBuild dotnet build src/Ombi.sln -c NonUiBuild
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

26
.gitignore vendored
View file

@ -245,28 +245,10 @@ _Pvt_Extensions
/Tools/* /Tools/*
*.db-journal *.db-journal
# Common IntelliJ Platform excludes # JetBrains Rider shame
**/.idea/**
# User specific # macOS shame
**/.idea/**/workspace.xml .DS_Store
**/.idea/**/tasks.xml
**/.idea/shelf/*
**/.idea/dictionaries
**/.idea/httpRequests/
# Sensitive or high-churn files
**/.idea/**/dataSources/
**/.idea/**/dataSources.ids
**/.idea/**/dataSources.xml
**/.idea/**/dataSources.local.xml
**/.idea/**/sqlDataSources.xml
**/.idea/**/dynamic.xml
# Rider
# Rider auto-generates .iml files, and contentModel.xml
**/.idea/**/*.iml
**/.idea/**/contentModel.xml
**/.idea/**/modules.xml
# Ignore local vscode config # Ignore local vscode config
*.vscode *.vscode