update
This commit is contained in:
6
Makefile
6
Makefile
@@ -10,13 +10,14 @@ VERSION := $(shell sed -n 's/^__version__ = "\(.*\)"/\1/p' src/flow/__init__.py)
|
||||
RELEASE_ROOT := $(BUILD_DIR)/flow-$(VERSION)-python
|
||||
RELEASE_ARCHIVE := $(DIST_DIR)/flow-$(VERSION)-python.tar.gz
|
||||
|
||||
.PHONY: help deps test test-e2e check package release-package build binary install install-local check-binary clean distclean
|
||||
.PHONY: help deps test test-e2e test-e2e-cmds check package release-package build binary install install-local check-binary clean distclean
|
||||
|
||||
help:
|
||||
@printf "Targets:\n"
|
||||
@printf " make deps Sync locked dev/build dependencies into .venv\n"
|
||||
@printf " make test Run unit tests\n"
|
||||
@printf " make test-e2e Run Docker/Podman e2e tests (FLOW_RUN_E2E=1)\n"
|
||||
@printf " make test-e2e-cmds Run focused disposable-container CLI command checks (FLOW_RUN_E2E=1)\n"
|
||||
@printf " make check Run unit tests and CLI smoke check\n"
|
||||
@printf " make package Build wheel and sdist into dist/\n"
|
||||
@printf " make release-package Build installable Python release tarball\n"
|
||||
@@ -35,6 +36,9 @@ test:
|
||||
test-e2e:
|
||||
FLOW_RUN_E2E=1 $(UV) run pytest tests/e2e/ -v
|
||||
|
||||
test-e2e-cmds:
|
||||
FLOW_RUN_E2E=1 $(UV) run pytest tests/e2e/test_dotfiles_e2e.py::test_cli_paths_run_in_disposable_container -q
|
||||
|
||||
check: test
|
||||
$(UV) run python -m flow --help >/dev/null
|
||||
$(UV) run python -m flow --version >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user