mirror of
https://github.com/Sun-ZhenXing/mcp-template-python.git
synced 2026-02-04 02:03:32 +00:00
chore(deps): update & add Makefile
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
.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))
|
||||
|
||||
%:
|
||||
@:
|
||||
Reference in New Issue
Block a user