Stage 1 targen: typed TargenConfig + argv builder (-v -d 2/4, -f, -e, -B, optional advanced flags, CMYK-only -l, never -u), ArgyllRunner over ProcessManager, Stage1View with disk-gated Generate. Issue 8: Open Existing resume — .ti1 → Stage 2, .ti2 → Stage 3 shell with persistent "Resumed from .ti2" banner, sibling-.ti1 gate. Stage 2 printtarg: PrinttargConfig/args (-v -u, -i, -p, -R 1 default, -r raster, -t/-T DPI), Stage2View with instrument/page/DPI/label controls, CM warning, stubbed print panel. Issue 10: pretty-manifest JSON parsing, host-side TIFF→PNG gallery previews, per-page stubbed print, failure stays on stage. Issue 11: typed ProfilingPreset schema with legacy CustomPreset migration, four built-ins, save/manage/import/export UI, DPI binding. Tests: 124 Core tests (Swift Testing) + 11 Milestone2UITests (XCTest) with committed fixture sidecars — all green on arm64+x86_64 universal build. No hardware, no downloads. Also: ProcessError LocalizedError conformance; accessibilityElement .contain on container identifiers so child AX ids survive. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
14 lines
419 B
Bash
Executable File
14 lines
419 B
Bash
Executable File
#!/bin/sh
|
|
# Mock targen for Milestone2UITests. Emits a fake .ti1 next to the
|
|
# basename (last argv) in the process working directory. Exit code is
|
|
# overridable via ICCERY_MOCK_TARGEN_EXIT.
|
|
last=""
|
|
for arg in "$@"; do last="$arg"; done
|
|
echo "targen mock: generating $last"
|
|
if [ "${ICCERY_MOCK_TARGEN_EXIT:-0}" -ne 0 ]; then
|
|
echo "mock targen failure" >&2
|
|
exit "$ICCERY_MOCK_TARGEN_EXIT"
|
|
fi
|
|
touch "$last.ti1"
|
|
exit 0
|