Skip to content

Commit

Permalink
requirements target to use piptools as source to ensure correct setup (
Browse files Browse the repository at this point in the history
…#198)

* requirements target to use piptools as source to ensure correct setup

* Update target name to piptools-requirements
  • Loading branch information
binodpant authored May 20, 2020
1 parent 1bab1fd commit 7f120e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ clean: ## remove generated byte code, coverage reports, and build artifacts
rm -fr dist/
rm -fr *.egg-info

piptools-requirements: ## install tools prior to requirements
pip install -q -r requirements/pip_tools.txt

coverage: clean ## generate and view HTML coverage report
py.test --cov-report html
$(BROWSER) htmlcov/index.html
Expand All @@ -40,7 +43,7 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
mv requirements/test-reporting.tmp requirements/test-reporting.txt


requirements: ## install development environment requirements
requirements: piptools-requirements ## install development environment requirements
pip install -qr requirements/base.txt --exists-action w
pip-sync requirements/base.txt requirements/dev.txt requirements/test.txt

Expand Down

0 comments on commit 7f120e2

Please sign in to comment.