mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-04 06:07:48 -04:00
Add remving existing requirements
This patch updates the Makefile to do an rm on the requirements.txt when updating the requirements files.
This commit is contained in:
parent
2ce50d8861
commit
e5f60b5ce1
9
Makefile
9
Makefile
@ -25,7 +25,7 @@ docs: build
|
|||||||
cp Changelog docs/changelog.rst
|
cp Changelog docs/changelog.rst
|
||||||
tox -edocs
|
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
|
clean-build: ## remove build artifacts
|
||||||
rm -fr build/
|
rm -fr build/
|
||||||
@ -46,6 +46,9 @@ clean-test: ## remove test and coverage artifacts
|
|||||||
rm -fr htmlcov/
|
rm -fr htmlcov/
|
||||||
rm -fr .pytest_cache
|
rm -fr .pytest_cache
|
||||||
|
|
||||||
|
clean-dev:
|
||||||
|
rm -rf $(VENVDIR)
|
||||||
|
|
||||||
test: dev ## Run all the tox tests
|
test: dev ## Run all the tox tests
|
||||||
tox -p all
|
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
|
docker build -t hemna6969/aprsd:master -f docker/Dockerfile-dev docker
|
||||||
|
|
||||||
update-requirements: dev ## Update the requirements.txt and dev-requirements.txt files
|
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 requirements.in
|
||||||
$(VENV)/pip-compile dev-requirements.in
|
$(VENV)/pip-compile dev-requirements.in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user