aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-22 21:15:47 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-22 21:15:47 +0300
commit8de4bff677338fdf627fd55ebd011b06fc04028f (patch)
treefa3ebed6d293ea3313c929c75798ec26d3caf14b /Makefile
parentv2.3.0 (diff)
downloadcgitize-8de4bff677338fdf627fd55ebd011b06fc04028f.tar.gz
cgitize-8de4bff677338fdf627fd55ebd011b06fc04028f.zip
Makefile: add alias for launching Python
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
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