File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- SUBDIRS := $(filter-out src/dbtools-mcp-server src/mysql-mcp-server src/oci-pricing-mcp-server src/oracle-db-doc-mcp-server,$(wildcard src/* ) )
1+ SOURCE_FOLDER := src
2+ # These directories will be excluded from common cmds like build, install, test etc
3+ EXCLUDED_PROJECTS := dbtools-mcp-server mysql-mcp-server oci-pricing-mcp-server oracle-db-doc-mcp-server
4+ EXCLUDED_PROJECT_PATHS = $(addprefix $(SOURCE_FOLDER ) /, $(EXCLUDED_PROJECTS ) )
5+ # This matches all paths by default. If you want to run a command on a specific package you can specify the `project` variable
6+ project ?= *
7+ # These are the directories that will be built
8+ DIRS := $(wildcard $(SOURCE_FOLDER ) /$(project ) )
9+ SUBDIRS := $(filter-out $(EXCLUDED_PROJECT_PATHS ) , $(DIRS ) )
210
311.PHONY : test format
412
Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ This section will help you set up your environment to prepare it for local devel
257257 make build
258258 make install
259259 ` ` `
260+ ** Note** : If you want to run commands in a single server project, you can add the ` project` variable to only run commands for that specific project
261+ For example: ` make project=oci-compute-mcp-server build` will only build the compute mcp server
260262
2612633. Add desired servers to your MCP client configuration, but run them using the locally installed server package instead
262264
You can’t perform that action at this time.
0 commit comments