Initial checkin of Blueprint-MCP plugin
This commit is contained in:
7
build.py
7
build.py
@@ -369,11 +369,12 @@ def run_generateprojectfiles_in_sandbox():
|
||||
shutil.rmtree(sandbox)
|
||||
sandbox.mkdir()
|
||||
(sandbox / "Integration.uproject").write_bytes(Path(f"{INTEGRATION}/Integration.uproject").read_bytes())
|
||||
for name in ["Source", "Config", "Content"]:
|
||||
(sandbox / name).symlink_to(f"../{name}")
|
||||
for name in ["Source", "Config", "Content", "Plugins"]:
|
||||
if (Path(INTEGRATION) / name).exists():
|
||||
(sandbox / name).symlink_to(f"../{name}")
|
||||
shell(str(sandbox), f'{UNREALENGINE}/GenerateProjectFiles.{BAT} -projectfiles -project="{sandbox}/Integration.uproject" -game')
|
||||
# Remove the symlinks and uproject copy, leaving only generated files
|
||||
for name in ["Source", "Config", "Content", "Integration.uproject"]:
|
||||
for name in ["Source", "Config", "Content", "Plugins", "Integration.uproject"]:
|
||||
(sandbox / name).unlink()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user