Verify Archiver document tabs and tag popups in IntelliJ
This commit is contained in:
@@ -22,9 +22,10 @@ p.add_argument("--archiver", type=Path, help="Use a disposable copy of the Archi
|
||||
forms = p.add_mutually_exclusive_group()
|
||||
forms.add_argument("--connection-form", action="store_true", help="Open and qualify the Archiver connection form")
|
||||
forms.add_argument("--grid-docking", type=Path, metavar="REFERENCE_FXML", help="Qualify the Archiver grid, dock layout and the supplied reference workspace")
|
||||
forms.add_argument("--document-tabs", action="store_true", help="Qualify the production Archiver HTML document tabs")
|
||||
forms.add_argument("--saved-document", action="store_true", help="Open the Archiver saved HTML and tag example")
|
||||
args = p.parse_args()
|
||||
if (args.connection_form or args.grid_docking or args.saved_document) and not args.archiver:
|
||||
if (args.connection_form or args.grid_docking or args.saved_document or args.document_tabs) and not args.archiver:
|
||||
p.error("Selecting an Archiver view requires --archiver")
|
||||
base = Path(tempfile.mkdtemp(prefix="neitzel-designer-host-")).resolve()
|
||||
project = base / "project"
|
||||
@@ -80,11 +81,13 @@ else:
|
||||
suite = "Connection"
|
||||
elif args.grid_docking:
|
||||
suite = "GridDock"
|
||||
elif args.document_tabs:
|
||||
suite = "DocumentTabs"
|
||||
elif args.saved_document:
|
||||
suite = "SavedDocument"
|
||||
probe = f"{suite}WorkflowProbe" if args.archiver else "WorkflowProbe"
|
||||
files = [sources / "WorkflowProbe.java"]
|
||||
if args.connection_form or args.saved_document:
|
||||
if args.connection_form or args.saved_document or args.document_tabs:
|
||||
files.append(sources / "FormWorkflowProbe.java")
|
||||
if args.archiver:
|
||||
files.append(sources / f"{probe}.java")
|
||||
|
||||
Reference in New Issue
Block a user