Skip to content
Snippets Groups Projects
Unverified Commit e3ec5189 authored by lni's avatar lni Committed by GitHub
Browse files

Add debug build target for Makefile (#526)

parent 15603993
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,13 @@ config: cmd/generate-config/main.go cmd/generate-config/config_template.go cmd/g ...@@ -17,6 +17,13 @@ config: cmd/generate-config/main.go cmd/generate-config/config_template.go cmd/g
build: cmd/db-server/main.go build: cmd/db-server/main.go
go build -o mo-server cmd/db-server/main.go go build -o mo-server cmd/db-server/main.go
# Building mo-server binary for debugging, it uses the latest MatrixCube from master.
.PHONY: debug
debug: cmd/db-server/main.go
go get github.com/matrixorigin/matrixcube
go mod tidy
go build -tags debug -o mo-server cmd/db-server/main.go
# Running unit test cases # Running unit test cases
# Set test timeout to 15 minutes # Set test timeout to 15 minutes
# Excluding frontend test cases temporarily # Excluding frontend test cases temporarily
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment