(scheme)
| 64 | _usage(f"unknown arg {arg}") |
| 65 | |
| 66 | def update(scheme): |
| 67 | print("find root:", build_root) |
| 68 | |
| 69 | config = ServerConfig.shared() |
| 70 | config.workspace = workspace |
| 71 | config.build_root = build_root |
| 72 | config.scheme = scheme |
| 73 | config.kind = "xcode" |
| 74 | config.skip_validate_bin = skip_validate_bin |
| 75 | config.save() |
| 76 | print("updated buildServer.json") |
| 77 | |
| 78 | if build_root: |
| 79 | build_root = os.path.abspath(os.path.expanduser(build_root)) |