{
"name": "printobserver-types",
"root": "crates/printobserver-types",
"projectType": "library",
"tags": [
"lang:rust",
"type:contract"
],
"targets": {
"format": {
"command": "cargo fmt -p printobserver-types"
},
"format-check": {
"command": "cargo fmt -p printobserver-types -- --check"
},
"lint": {
"command": "cargo clippy -p printobserver-types --all-targets --locked -- -D warnings"
},
"test": {
"command": "bash -c 'if [ \"${OS:-}\" = Windows_NT ]; then export LLVM_PROFILE_FILE_NAME=printobserver-types-%p-%m.profraw; fi; exec cargo llvm-cov nextest -p printobserver-types --no-report --no-tests=pass'",
"dependsOn": [
"schemas"
]
},
"build": {
"command": "cargo build -p printobserver-types --locked"
},
"schemas": {
"command": "cargo test --locked -p printobserver-types -p printobserver-printer-api -p printobserver-vision-api -p printobserver-supervisor-api -p printobserver-core -p printobserver-obico -p printobserver-server --test schemas"
},
"schemas-update": {
"command": "PRINTOBSERVER_SCHEMAS=write cargo test --locked -p printobserver-types -p printobserver-printer-api -p printobserver-vision-api -p printobserver-supervisor-api -p printobserver-core -p printobserver-obico -p printobserver-server --test schemas"
}
}
}