mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
44c73baf2d
* Add board config to pcb.toml, pcb info Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Choose first board (when sorted) as fallback default Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Add secondary heuristics pass to detect boards without pcb.toml Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Update snapshots Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Don't allow malformed pcb.toml Empty pcb.toml is fine. Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Don't copy .pcb/cache into test fixture Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Replace test-workspace with snapshot tests of pcb info Signed-off-by: akhilles <akhilvelagapudi@gmail.com> --------- Signed-off-by: akhilles <akhilvelagapudi@gmail.com>
16 lines
266 B
Plaintext
16 lines
266 B
Plaintext
---
|
|
source: crates/pcb/tests/info.rs
|
|
expression: output
|
|
---
|
|
Command: pcb info
|
|
Exit Code: 0
|
|
|
|
--- STDOUT ---
|
|
Workspace Information
|
|
Root: <TEMP_DIR>
|
|
No workspace configuration found
|
|
|
|
No boards discovered
|
|
Searched for pcb.toml files with [board] sections
|
|
--- STDERR ---
|