Skip to content

Commit 236bbb6

Browse files
committed
Build the server and client in Tools mode
1 parent dcf35f0 commit 236bbb6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/extension.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ class ODSourceInstallation implements OpenDreamInstallation {
380380
TaskNames.SOURCE,
381381
new ProcessExecution("dotnet", [
382382
"build",
383-
`${this.path}/OpenDreamServer`,
383+
"-c", "Tools",
384+
`${this.path}/OpenDreamClient`,
384385
]),
385386
)));
386387
return {
@@ -413,6 +414,7 @@ class ODSourceInstallation implements OpenDreamInstallation {
413414
new ProcessExecution("dotnet", [
414415
"run",
415416
"--project", `${this.path}/OpenDreamServer`,
417+
"-c", "Tools",
416418
"--",
417419
"--cvar", `server.port=0`,
418420
"--cvar", `opendream.debug_adapter_launched=${params.debugPort}`,
@@ -440,6 +442,7 @@ class ODWorkspaceFolderInstallation extends ODSourceInstallation {
440442
TaskNames.SOURCE,
441443
new ProcessExecution("dotnet", [
442444
"build",
445+
"-c", "Tools",
443446
`${this.path}/OpenDreamServer`,
444447
]),
445448
)));

0 commit comments

Comments
 (0)