Skip to content

Commit

Permalink
Merge pull request #62 from cmz123/master
Browse files Browse the repository at this point in the history
Go build cannot find the tidb-server directory
  • Loading branch information
dragonly authored Dec 21, 2023
2 parents d84f0ac + eb4bc86 commit dd8f90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playground/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class PlaygroundCommand {
if (folder.name === comp) {
if (comp === 'tidb') {
preCmds.push(
`cd ${folder.uri.fsPath} && make && go build -gcflags='-N -l' -o ./bin/tidb-server tidb-server/main.go`
`cd ${folder.uri.fsPath} && make && go build -gcflags='-N -l' -o ./bin/tidb-server ./cmd/tidb-server/main.go`
)
args.push(`--${k} ${folder.uri.fsPath}/bin/tidb-server`)
} else if (comp === 'tikv') {
Expand Down

0 comments on commit dd8f90e

Please sign in to comment.