-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
64 lines (50 loc) · 1.77 KB
/
Copy pathmise.toml
File metadata and controls
64 lines (50 loc) · 1.77 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
[tools]
dprint = "latest"
node = "lts"
rust = { version = "1.92", components = "rustfmt,clippy", targets = "aarch64-unknown-linux-gnu,x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl,aarch64-unknown-linux-musl" }
yamlfmt = "latest"
cargo-binstall = "latest"
"cargo:cross" = "latest"
zig = "latest"
"cargo:cargo-zigbuild" = "latest"
[tasks."build:rs"]
run = "cargo build"
[tasks."build:rs:release"]
run = "cargo build --release"
[tasks."build:ts"]
run = "npm run build"
dir = "sdk/ts"
depends = ["generate:types"]
[tasks."check:rs"]
run = "cargo clippy --workspace -- -D warnings"
[tasks."check:ts"]
run = "npm run typecheck"
dir = "sdk/ts"
depends = ["generate:types"]
[tasks."check:fmt"]
run = "dprint check"
[tasks."format"]
run = "dprint fmt"
[tasks."install:ts"]
run = "npm ci"
dir = "sdk/ts"
[tasks."test:unit:rs"]
run = "cargo test --lib"
[tasks."test:integration:rs"]
run = "cargo test --test rest --test s3"
[tasks."test:handoff:rs"]
description = "End-to-end handoff tests (real beyond-objects subprocesses, listener-FD inheritance, flock dance, data persistence across binary swap). Serial because each test spawns 2+ processes with their own ephemeral ports."
run = "cargo test --test handoff_smoke --test handoff_e2e --test handoff_rigorous -- --test-threads=1"
[tasks."test:integration:ts"]
description = "Run TypeScript SDK e2e tests against a freshly-built debug server"
run = "npm test"
dir = "sdk/ts"
depends = ["generate:types", "build:rs"]
[tasks."generate:openapi"]
description = "Generate openapi/v1.json from annotated routes"
run = "cargo run --bin beyond-objects -- generate-openapi"
[tasks."generate:types"]
description = "Generate TypeScript types from the OpenAPI spec"
run = "node scripts/generate-types.mjs"
dir = "sdk/ts"
depends = ["install:ts", "generate:openapi"]