Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
.vscode

.directory
coverage.out
package-lock.json
Expand Down
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "2.0.0",
"inputs": [
{
"id": "codesonarAnalysisName",
"type": "promptString",
"description": "CodeSonar analysis name",
"default": "Analysis-1234"
}
],
"tasks": [
{
"type": "shell",
"label": "Rust: CodeSonar analyze",
"command": [
"go build && staticcheck -f sarif ./... > codesonar-scan.sarif &&",
"codesonar analyze iris -hubuser ${config:codesonar.hubUser} -auth certificate -name ${input:codesonarAnalysisName} -conf-file codesonar.conf -project OSS-Projects/Iris-GitHub/developers/${config:codesonar.hubUser} ${config:codesonar.hubAddress} codesonar import_sarif.py codesonar-scan.sarif -path-baseid '%SRCROOT%' . -include-sources '**/*.go'",
],
"group": "build",
"detail": "builder: cargo",
"presentation": {
"showReuseMessage": false,
"panel": "new"
}
}

]
}