forked from specklesystems/speckle-sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reformat(core): Core reformatted (specklesystems#2416)
* feat(formatting): Added vscode tasks for global formatting * ensured escaped backslashes in slnf * Core format * reformat(core): reformatted core * Full cleanup on Core + Tests + Integration + Examples * fix(core): Fix Credential tests by null properlly implementing Equals comparison We should not assume an object (or account) is non-null when checking equality. * feat(core): Implemented account getHashCode and removed redundant code * Revert "feat(core): Implemented account getHashCode and removed redundant code" This reverts commit 9e4c65e. * fix(core): Disable pragma warning for Equals override in Accounts.cs * Attempt at fixing our CI on mac after the reformat (specklesystems#2420) * feat: get-ci-tools will now try to mirror branches * fix(ci): Build mac connectors with dotnet * fix(ci): build-with-mono instead of build-with-msbuild * fix(ci): Git ci-tools checkout fix * fix(ci): Build with mono path fix * fix(ci): SDK changes for avalonia to build rhino with dotnet targeting win * fix(ci): new dotnet build for mac * fix(ci): no build with mono param * fix(ci): run slnf * fix: do not use self-contained for connector mac build * fix(ci): Env vars not being propagated... 🤦🏼♂️ * fix(ci): PEBKAC * fix(ci): Install zip * fix(ci): case sensitive name of installer * fix(ci): Testing SDK build instead * fix(ci): PEBKAC round 2002 * fix(ci): Do not wait for integration tests to build connectors, just wait for deploy * fix(ci): Rename `build-core` to `build-sdk` * fix(ci): 🤦🏼♂️ missing the parameter * fix(ci): Name cannot be used as parameter name * fix(ci): pebkac yet again * fix(ci): this is it! * fix(ci): use net6.0 image * fix(ci): rollback to use net6 in tests --------- Co-authored-by: Alan Rynne <[email protected]>
- Loading branch information
Showing
118 changed files
with
15,058 additions
and
14,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
core: | ||
- test-core: | ||
requires: | ||
- build-core | ||
- build-sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ | |
"commands": [ | ||
"jb" | ||
] | ||
}, | ||
"csharpier": { | ||
"version": "0.23.0", | ||
"commands": [ | ||
"dotnet-csharpier" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
printWidth: 120 | ||
useTabs: false | ||
tabWidth: 2 | ||
preprocessorSymbolSets: | ||
- "" | ||
- "DEBUG" | ||
- "DEBUG,CODE_STYLE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"inputs": [ | ||
{ | ||
"type": "promptString", | ||
"id": "projectPath", | ||
"description": "The path to the csproj, sln or slnf you want formatting", | ||
"default": "./All.sln" | ||
} | ||
], | ||
"tasks": [ | ||
{ | ||
"label": "speckle.format.csharpier", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": ["csharpier", "${input:projectPath}/.."], | ||
"group": "build", | ||
"presentation": { | ||
"reveal": "silent" | ||
}, | ||
"problemMatcher": "$msCompile", | ||
"hide": true | ||
}, | ||
{ | ||
"label": "speckle.format.style", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": ["format", "style", "${input:projectPath}"], | ||
"group": "build", | ||
"presentation": { | ||
"reveal": "silent" | ||
}, | ||
"problemMatcher": "$msCompile", | ||
"hide": true | ||
}, | ||
{ | ||
"label": "speckle.format.whitespace", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": ["format", "whitespace", "${input:projectPath}"], | ||
"group": "build", | ||
"presentation": { | ||
"reveal": "silent" | ||
}, | ||
"problemMatcher": "$msCompile", | ||
"hide": true | ||
}, | ||
{ | ||
"label": "speckle.format.analyzers", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": ["format", "analyzers", "${input:projectPath}"], | ||
"group": "build", | ||
"presentation": { | ||
"reveal": "silent" | ||
}, | ||
"problemMatcher": "$msCompile", | ||
"hide": true | ||
}, | ||
{ | ||
"label": "speckle.format.resharper", | ||
"command": "dotnet", | ||
"type": "shell", | ||
"args": [ | ||
"tool", | ||
"run", | ||
"jb", | ||
"cleanupcode", | ||
"${input:projectPath}", | ||
"--profile=\"Speckle:\\sCustom\\sCleanup\"", | ||
"--settings=\"All.sln.DotSettings\"", | ||
], | ||
"group": "build", | ||
"problemMatcher": "$msCompile", | ||
"hide": false | ||
}, | ||
{ | ||
"label": "Speckle: Format Code", | ||
"dependsOn": [ | ||
"speckle.format.whitespace", | ||
"speckle.format.style", | ||
"speckle.format.csharpier", | ||
], | ||
"dependsOrder": "sequence", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Speckle: Cleanup Code", | ||
"dependsOn": [ | ||
"Speckle: Format Code", | ||
"speckle.format.analyzers", | ||
"speckle.format.resharper", | ||
], | ||
"dependsOrder": "sequence", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
Oops, something went wrong.