Skip to content

Commit

Permalink
Adjust vscode task and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljakubis committed Apr 30, 2024
1 parent dd24a05 commit c226ac5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3

- name: Run dotnet format
run: dotnet format src/Kentico.Xperience.RepoTemplate/Kentico.Xperience.RepoTemplate.csproj --verify-no-changes
run: dotnet format Kentico.Xperience.RepoTemplate.sln --exclude ./examples/** --verify-no-changes

build_and_test:
name: Build and Test
Expand Down
10 changes: 6 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
{
"type": "shell",
"command": "dotnet",
"args": ["format"],
"args": [
"format",
"Kentico.Xperience.RepoTemplate.sln",
"--exclude",
"./examples/**"
],
"problemMatcher": ["$msCompile"],
"group": "none",
"options": {
"cwd": "${workspaceFolder}/src/Kentico.Xperience.RepoTemplate/"
},
"label": "dotnet: format"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/Contributing-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ To run the Sample app Admin customization in development mode, add the following
- `refactor/` - for restructuring of existing features
- `fix/` - for bugfixes

1. Run `dotnet format` against the `src/Kentico.Xperience.RepoTemplate` project
1. Run `dotnet format` against the `Kentico.Xperience.RepoTemplate` solution

> use `dotnet: format` VS Code task.
Expand Down

0 comments on commit c226ac5

Please sign in to comment.