MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / update

Function update

config/cmd.py:66–76  ·  view source on GitHub ↗
(scheme)

Source from the content-addressed store, hash-verified

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))

Callers 1

mainFunction · 0.85

Calls 2

sharedMethod · 0.80
saveMethod · 0.80

Tested by

no test coverage detected