diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-22 21:15:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-11-22 21:15:47 +0300 |
commit | 8de4bff677338fdf627fd55ebd011b06fc04028f (patch) | |
tree | fa3ebed6d293ea3313c929c75798ec26d3caf14b | |
parent | v2.3.0 (diff) | |
download | cgitize-8de4bff677338fdf627fd55ebd011b06fc04028f.tar.gz cgitize-8de4bff677338fdf627fd55ebd011b06fc04028f.zip |
Makefile: add alias for launching Python
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |