Skip to content

Commit

Permalink
VSC-451 Add buildProject call to extension API
Browse files Browse the repository at this point in the history
  • Loading branch information
HampusAdolfsson committed Nov 13, 2024
1 parent 7404fca commit 5b5fa57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/buildExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ export interface BuildExtensionApi {
*/
getCSpyCommandline(projectPath: string, configuration: string): Promise<string[] | undefined>;

/**
* Builds the project with the given path and configuration. Throws if the build fails.
* @param projectPath Path to the ewp file of the project to build
* @param configuration Name of the configuration to build
*/
buildProject(projectPath: string, configuration: string): Promise<void>;
}

0 comments on commit 5b5fa57

Please sign in to comment.