From e5f60b5ce1800bf1bdb39d7b6eea769a8ff646a4 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 22 Nov 2022 13:16:22 -0500 Subject: [PATCH] Add remving existing requirements This patch updates the Makefile to do an rm on the requirements.txt when updating the requirements files. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecaa497..e513173 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ docs: build cp Changelog docs/changelog.rst tox -edocs -clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts +clean: clean-build clean-pyc clean-test clean-dev ## remove all build, test, coverage and Python artifacts clean-build: ## remove build artifacts rm -fr build/ @@ -46,6 +46,9 @@ clean-test: ## remove test and coverage artifacts rm -fr htmlcov/ rm -fr .pytest_cache +clean-dev: + rm -rf $(VENVDIR) + test: dev ## Run all the tox tests tox -p all @@ -73,5 +76,9 @@ docker-dev: test ## Make a development docker container tagged with hemna6969/a docker build -t hemna6969/aprsd:master -f docker/Dockerfile-dev docker update-requirements: dev ## Update the requirements.txt and dev-requirements.txt files + rm requirements.txt + rm dev-requirements.txt + touch requirements.txt + touch dev-requirements.txt $(VENV)/pip-compile requirements.in $(VENV)/pip-compile dev-requirements.in