aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ed2d040..baccb92 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
PACKAGE=paper2remarkable
DOC_DIR='./docs/'
-VENV_DIR='/tmp/p2r_venv/'
+VENV_DIR=/tmp/p2r_venv/
.PHONY: help cover dist
@@ -26,7 +26,7 @@ install: ## Install for the current user using the default python command
test: venv ## Run unit tests
- source $(VENV_DIR)/bin/activate && green -v ./tests/test_unit
+ source $(VENV_DIR)/bin/activate && green -v ./tests
clean: ## Clean build dist and egg directories left after install
@@ -52,11 +52,9 @@ doc: install ## Build documentation with Sphinx
touch source/AUTOGENERATED
$(MAKE) -C $(DOC_DIR) html
-
-
venv: $(VENV_DIR)/bin/activate
$(VENV_DIR)/bin/activate:
test -d $(VENV_DIR) || virtualenv $(VENV_DIR)
- source $(VENV_DIR)/bin/activate && pip install -q -e .[dev]
+ source $(VENV_DIR)/bin/activate && pip install -e .[dev]
touch $(VENV_DIR)/bin/activate