diff --git a/Makefile b/Makefile index 7d188af5..4c73702d 100644 --- a/Makefile +++ b/Makefile @@ -55,9 +55,15 @@ clean: update-project-template: npx update-template https://github.com/googlefonts/googlefonts-project-template/ -update: venv +update: venv venv-test venv/bin/pip install --upgrade pip-tools # See https://pip-tools.readthedocs.io/en/latest/#a-note-on-resolvers for # the `--resolver` flag below. venv/bin/pip-compile --upgrade --resolver=backtracking requirements.in venv/bin/pip-sync requirements.txt + + venv-test/bin/pip install --upgrade pip-tools + # See https://pip-tools.readthedocs.io/en/latest/#a-note-on-resolvers for + # the `--resolver` flag below. + venv-test/bin/pip-compile --upgrade --resolver=backtracking requirements-test.in + venv-test/bin/pip-sync requirements-test.txt diff --git a/requirements-test.in b/requirements-test.in new file mode 100644 index 00000000..d3260664 --- /dev/null +++ b/requirements-test.in @@ -0,0 +1,2 @@ +fontbakery[googlefonts]>=0.9.2 +gftools[qa]>=0.9.23 diff --git a/requirements-test.txt b/requirements-test.txt index 2d0f9077..161ef17e 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,2 +1,2 @@ -fontbakery[googlefonts]>=0.11.2 -gftools[qa]>=0.9.54 +# Placeholder file, update the requirements by running `make update`. +-r requirements-test.in