-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathmise.toml
More file actions
51 lines (41 loc) · 2.03 KB
/
Copy pathmise.toml
File metadata and controls
51 lines (41 loc) · 2.03 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
min_version = "2026.6.14"
[tools]
protoc = "23.4"
# .NET tools are pinned in .config/dotnet-tools.json so Dependabot can see them.
# Tasks are kept in alphabetical order, ignoring the quoting.
[tasks."apicompat:baseline"]
description = "Regenerate src/Temporalio/CompatibilitySuppressions.xml, then review the diff"
run = "dotnet pack -c Debug /p:GenerateCompatibilitySuppressionFile=true"
[tasks.docs]
description = "Build the API documentation"
depends = ["tools:restore"]
run = "dotnet docfx src/Temporalio.ApiDoc/docfx.json --warningsAsErrors"
[tasks.gen]
description = "Regenerate all generated code"
# The three outputs are independent. Interop goes last because it is the only one that
# cannot run outside Windows, so the others still complete on a non-Windows machine.
run = [
"mise run gen:api",
"mise run gen:nexus",
"mise run gen:interop",
]
[tasks."gen:api"]
description = "Regenerate the Temporalio.Api.* protobuf types"
run = "dotnet run --project src/Temporalio.Api.Generator"
[tasks."gen:interop"]
description = "Regenerate the bridge interop layer from the sdk-core C header (Windows only)"
# ClangSharpPInvokeGenerator ships only Windows native libclang binaries.
depends = ["tools:restore"]
run = "dotnet clangsharppinvokegenerator @src/Temporalio/Bridge/GenerateInterop.rsp"
[tasks."gen:nexus"]
description = "Regenerate the system Nexus service bindings"
tools = { "cargo:nex-gen" = "0.1.5" }
run = "dotnet run --project src/Temporalio.SystemNexus.Generator"
[tasks."tools:restore"]
description = "Restore the .NET tools pinned in .config/dotnet-tools.json"
# docfx must stay ahead of clangsharppinvokegenerator in the manifest. ClangSharp ships
# RID-specific tool packages from 20.1.2.2 on, and `dotnet tool restore` then validates the
# next manifest entry against ClangSharp's DotnetToolSettings.xml, failing the whole restore
# with "the command docfx ... is not contained in the package with Package Id docfx".
# See https://github.com/dotnet/sdk/issues/53783 (the manifest itself cannot hold comments).
run = "dotnet tool restore"