mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-04 20:17:43 +00:00
da4e56bf40
- Introduced a new CodeQL extension for C# in `.github/codeql/extensions/quantalib-csharp/codeql-pack.yml`. - Added SonarLint configuration in `.sonarlint/CSharp/SonarLint.xml` and `.sonarlint/csharp.ruleset` to suppress specific rules for high-performance indicators. - Removed outdated `.vscode/launch.json` configurations. - Updated `.vscode/tasks.json` to streamline build and test tasks, including renaming and consolidating tasks. - Modified `Directory.Build.props` to enhance SARIF output directory handling and integrate SonarLint rules. - Refactored various indicator classes to improve code clarity and maintainability, including updates to method parameters for consistency. - Added XML documentation comments to several classes and methods for better code understanding. - Improved numerical stability in calculations by replacing direct comparisons with `double.Epsilon` checks in multiple classes.
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build",
|
|
"detail": "dotnet build QuanTAlib.sln",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/QuanTAlib.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": { "kind": "build", "isDefault": true }
|
|
},
|
|
{
|
|
"label": "Build Library",
|
|
"detail": "dotnet build lib/quantalib.csproj (Debug, net10.0)",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/lib/quantalib.csproj",
|
|
"--configuration", "Debug",
|
|
"--framework", "net10.0"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Test",
|
|
"detail": "dotnet test lib/QuanTAlib.Tests.csproj (net10.0)",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"test",
|
|
"${workspaceFolder}/lib/QuanTAlib.Tests.csproj",
|
|
"--framework", "net10.0"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": { "kind": "test", "isDefault": true },
|
|
"presentation": { "reveal": "always", "panel": "new" }
|
|
}
|
|
]
|
|
}
|