Skip to content

Commit

Permalink
Build the server and client in Tools mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit committed Jul 20, 2023
1 parent dcf35f0 commit 236bbb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ class ODSourceInstallation implements OpenDreamInstallation {
TaskNames.SOURCE,
new ProcessExecution("dotnet", [
"build",
`${this.path}/OpenDreamServer`,
"-c", "Tools",
`${this.path}/OpenDreamClient`,
]),
)));
return {
Expand Down Expand Up @@ -413,6 +414,7 @@ class ODSourceInstallation implements OpenDreamInstallation {
new ProcessExecution("dotnet", [
"run",
"--project", `${this.path}/OpenDreamServer`,
"-c", "Tools",
"--",
"--cvar", `server.port=0`,
"--cvar", `opendream.debug_adapter_launched=${params.debugPort}`,
Expand Down Expand Up @@ -440,6 +442,7 @@ class ODWorkspaceFolderInstallation extends ODSourceInstallation {
TaskNames.SOURCE,
new ProcessExecution("dotnet", [
"build",
"-c", "Tools",
`${this.path}/OpenDreamServer`,
]),
)));
Expand Down

0 comments on commit 236bbb6

Please sign in to comment.