From 8de4bff677338fdf627fd55ebd011b06fc04028f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 22 Nov 2021 21:15:47 +0300 Subject: Makefile: add alias for launching Python --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index eee3e82..c02ea1f 100644 --- a/Makefile +++ b/Makefile @@ -131,6 +131,16 @@ venv: python -m venv -- '$(call escape,$(venv_dir))' . '$(call escape,$(venv_dir))/bin/activate' && pip install -r requirements.txt +.PHONY: py +py: python + +.PHONY: repl +repl: python + +.PHONY: python +python: + . '$(call escape,$(venv_dir))/bin/activate' && python + .PHONY: test test: . '$(call escape,$(venv_dir))/bin/activate' && python -m unittest --verbose --buffer -- cgit v1.2.3