mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
simplify venv commands
This commit is contained in:
10
Makefile
10
Makefile
@@ -14,17 +14,17 @@ all: lint test
|
|||||||
|
|
||||||
$(VENV): requirements.txt requirements-dev.txt setup.py
|
$(VENV): requirements.txt requirements-dev.txt setup.py
|
||||||
$(PY) -m venv $(VENV)
|
$(PY) -m venv $(VENV)
|
||||||
$(BIN)/python -m pip install --upgrade -r requirements.txt
|
$(BIN)/pip install --upgrade -r requirements.txt
|
||||||
$(BIN)/python -m pip install --upgrade -r requirements-dev.txt
|
$(BIN)/pip install --upgrade -r requirements-dev.txt
|
||||||
$(BIN)/python -m pip install -e .
|
$(BIN)/pip install -e .
|
||||||
touch $(VENV)
|
touch $(VENV)
|
||||||
|
|
||||||
test: $(VENV)
|
test: $(VENV)
|
||||||
$(BIN)/python -m pytest
|
$(BIN)/pytest
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
lint: $(VENV)
|
lint: $(VENV)
|
||||||
$(BIN)/python -m flake8
|
$(BIN)/flake8
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
|
|
||||||
release: $(VENV)
|
release: $(VENV)
|
||||||
|
|||||||
Reference in New Issue
Block a user