mirror of
https://github.com/Sun-ZhenXing/mcp-template-python.git
synced 2026-02-04 02:03:32 +00:00
20 lines
512 B
Makefile
20 lines
512 B
Makefile
.PHONY: i dev prod build update
|
|
|
|
i:
|
|
uv sync --all-extras --all-packages $(filter-out i,$(MAKECMDGOALS))
|
|
|
|
dev:
|
|
uv run --no-sync python -c "__import__('mcp_template_python.__main__').__main__.dev()" $(filter-out dev,$(MAKECMDGOALS))
|
|
|
|
prod:
|
|
uv run --no-sync python -c "__import__('mcp_template_python.__main__').__main__.main()" $(filter-out prod,$(MAKECMDGOALS))
|
|
|
|
build:
|
|
uv build $(filter-out build,$(MAKECMDGOALS))
|
|
|
|
update:
|
|
uv sync --all-extras --all-packages -U $(filter-out update,$(MAKECMDGOALS))
|
|
|
|
%:
|
|
@:
|