Compile and build the SkyWalking BanyanDB project. Use when the user asks to compile, build, or generate code for this project.
Follow these steps to compile the project.
Run make generate first. This regenerates .pb.go files from .proto definitions and mock files via mockgen.
This step is required whenever:
.proto) have been added or modifiedIf generate fails, check:
protoc and Go protobuf plugins are installedRun make build to compile all project components: ui, banyand, bydbctl, mcp, fodc/agent, fodc/proxy.
Binaries are output to each component's build/bin/dev/ directory.
make generate was not run. Run it first.make generate fixes this.commonv1, databasev1).make clean — clean all build artifactsmake clean-build — clean only build binariesmake lint — run lintersmake test — run tests