41710a0a5f
- Added `pi-ast` as a new crate with public `language`, `ops`, and `summary` modules and exported `SupportLang`. - Added AST summary and rewrite APIs in `pi-ast`, including language inference, overlap-safe edits, and span normalization. - Added `pi-shell` crate with new `Shell` and cross-platform `Process` APIs, session execution, and cancellation-aware runs. - Updated `pi-natives` to use shared `pi_ast`/`pi_shell` APIs, switched to local path deps, and moved minimizer assets to `pi-shell`.
34 lines
955 B
TOML
34 lines
955 B
TOML
# Swift Package Manager build/test output.
|
|
|
|
[filters.swift-build]
|
|
description = "Compact swift build/test output"
|
|
match_command = "^swift$"
|
|
match_subcommand = "^(build|test)$"
|
|
strip_ansi = true
|
|
strip_lines_matching = [
|
|
"^\\s*$",
|
|
"^Fetching ",
|
|
"^Cloning ",
|
|
"^Resolving ",
|
|
"^Computing version",
|
|
"^Resolved source packages",
|
|
"^Compiling \\S",
|
|
"^Building for ",
|
|
"^\\[\\d+/\\d+\\] Compiling ",
|
|
"^\\[\\d+/\\d+\\] Emitting ",
|
|
"^\\[\\d+/\\d+\\] Write ",
|
|
]
|
|
truncate_lines_at = 300
|
|
max_lines = 80
|
|
on_empty = "swift: ok"
|
|
|
|
[[tests.swift-build]]
|
|
name = "keeps build failure"
|
|
input = "Fetching https://github.com/foo/bar\nCompiling Foo Bar.swift\nFoo.swift:3:5: error: cannot find 'baz' in scope\nBuild failed"
|
|
expected = "Foo.swift:3:5: error: cannot find 'baz' in scope\nBuild failed\n"
|
|
|
|
[[tests.swift-build]]
|
|
name = "noise collapses to sentinel"
|
|
input = "Fetching https://github.com/foo/bar\nResolving foo\nCompiling Foo Bar.swift"
|
|
expected = "swift: ok"
|