feat: add help target to Makefile and update README with available make commands
This commit is contained in:
@@ -64,9 +64,18 @@ LANCEDB_CGO_LDFLAGS := $(LANCEDB_NATIVE_LIB) $(LANCEDB_SYSTEM_LDFLAGS)
|
|||||||
|
|
||||||
.DEFAULT_GOAL := build
|
.DEFAULT_GOAL := build
|
||||||
|
|
||||||
.PHONY: dev build release generator enums \
|
.PHONY: help dev build release generator enums \
|
||||||
_web-build-spa _web-dev _prepare-dist _lancedb-artifacts _lancedb-check
|
_web-build-spa _web-dev _prepare-dist _lancedb-artifacts _lancedb-check
|
||||||
|
|
||||||
|
help:
|
||||||
|
@echo "Available targets:"
|
||||||
|
@echo " make dev Start backend and frontend development servers"
|
||||||
|
@echo " make build Build the current system into dist/"
|
||||||
|
@echo " make release Build linux/darwin/windows release binaries into dist/"
|
||||||
|
@echo " make generator Run code generation"
|
||||||
|
@echo " make enums Generate frontend enums"
|
||||||
|
@echo " make help Show this help"
|
||||||
|
|
||||||
dev: _lancedb-check
|
dev: _lancedb-check
|
||||||
@CGO_ENABLED=1 CGO_CFLAGS="$(LANCEDB_CGO_CFLAGS)" CGO_LDFLAGS="$(LANCEDB_CGO_LDFLAGS)" \
|
@CGO_ENABLED=1 CGO_CFLAGS="$(LANCEDB_CGO_CFLAGS)" CGO_LDFLAGS="$(LANCEDB_CGO_LDFLAGS)" \
|
||||||
$(GO) run -tags "dev lancedb" $(MAIN) & \
|
$(GO) run -tags "dev lancedb" $(MAIN) & \
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ make build # build the frontend SPA and current-platform Go binary into dis
|
|||||||
make release # build linux/darwin/windows release binaries into dist/
|
make release # build linux/darwin/windows release binaries into dist/
|
||||||
make generator # run code generation
|
make generator # run code generation
|
||||||
make enums # generate frontend enums
|
make enums # generate frontend enums
|
||||||
|
make help # show available make targets
|
||||||
```
|
```
|
||||||
|
|
||||||
## AI Agent Workflow
|
## AI Agent Workflow
|
||||||
|
|||||||
Reference in New Issue
Block a user