-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy pathmise.toml
More file actions
77 lines (60 loc) 路 2.16 KB
/
Copy pathmise.toml
File metadata and controls
77 lines (60 loc) 路 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tools]
node = "24"
dotnet = "10"
[settings]
task.run_auto_install = false
idiomatic_version_file_enable_tools = ['dotnet']
[tasks.restore]
description = "Restore NuGet packages and local tools"
run = ["dotnet restore food-delivery-microservices.slnx", "dotnet tool restore"]
[tasks.build]
description = "Build the solution"
depends = ["restore"]
run = "dotnet build food-delivery-microservices.slnx --configuration Release"
[tasks.test]
description = "Run tests with Microsoft Testing Platform"
depends = ["build"]
run = "sh scripts/run-tests.sh"
[tasks."format:cs"]
description = "Format C# code"
run = "dotnet csharpier format ."
[tasks."check:format"]
description = "Check C# formatting"
run = "dotnet csharpier check ."
[tasks."check:style"]
description = "Check style rules"
run = "dotnet format style food-delivery-microservices.slnx --verify-no-changes --severity error --verbosity diagnostic"
[tasks."check:analyzers"]
description = "Check analyzer rules"
run = "dotnet format analyzers food-delivery-microservices.slnx --verify-no-changes --severity error --verbosity diagnostic"
[tasks."check:docker"]
description = "Lint Dockerfiles with hadolint"
run = "sh scripts/lint-dockerfiles.sh"
[tasks.quality]
description = "Run local quality gate checks"
depends = ["check:format", "check:style", "check:analyzers"]
[tasks.hook]
description = "Point Git hooks to .husky"
run = ["git config core.hooksPath .husky", "dotnet tool run husky -- install"]
[tasks.prepare]
description = "First-time setup after cloning"
depends = ["restore", "hook"]
[tasks.run]
description = "Run the Aspire app host"
run = "aspire run --project src/Aspire/FoodDelivery.AppHost/FoodDelivery.AppHost.csproj"
[tasks."format:eventcatalog"]
description = "Format EventCatalog documentation"
run = "bun run format"
dir = "docs/eventcatalog"
[tasks."check:eventcatalog"]
description = "Check EventCatalog lint and formatting"
run = "bun run check"
dir = "docs/eventcatalog"
[tasks."build:eventcatalog"]
description = "Build EventCatalog static site"
run = "bun run build"
dir = "docs/eventcatalog"
[tasks."dev:eventcatalog"]
description = "Run EventCatalog development server"
run = "bun run dev"
dir = "docs/eventcatalog"