From 5b2831166829d591545a3725b648828cf8e75d0a Mon Sep 17 00:00:00 2001 From: Craig Jones Date: Mon, 21 Mar 2022 03:13:43 -0700 Subject: [PATCH] Added a Makefile goal: freeze: lint ## prepare for a possible release by creating frozen_requirements.txt to compare against requirements.txt --- {{cookiecutter.project_slug}}/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index b2cf6cda7..7a501b1af 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -78,6 +78,9 @@ coverage: ## check code coverage quickly with the default Python coverage html $(BROWSER) htmlcov/index.html +freeze: lint ## prepare for a possible release by creating frozen_requirements.txt to compare against requirements.txt + pip freeze > frozen_requirements.txt + docs: ## generate Sphinx HTML documentation, including API docs rm -f docs/{{ cookiecutter.project_slug }}.rst rm -f docs/modules.rst