From af1684230174bdbdde4f75a235c01d3875d1f040 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Mon, 8 Nov 2021 02:08:54 +0530 Subject: [PATCH] Add `lib-dep` makefile target --- Makefile | 9 ++++++++- README.md | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index adf28a9921..2c17910b37 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ CA_SIGNING_KEY_FILE_PATH := ca-signing-key.pem .PHONY: all https-certificates sign-https-certificates ca-certificates .PHONY: lib-version lib-clean lib-test lib-package lib-coverage lib-lint lib-pytest .PHONY: lib-release-test lib-release lib-profile -.PHONY: lib-flake8, lib-mypy +.PHONY: lib-dep, lib-flake8, lib-mypy .PHONY: container container-run container-release .PHONY: devtools dashboard dashboard-clean @@ -81,6 +81,13 @@ lib-clean: rm -rf .pytest_cache rm -rf .hypothesis +lib-dep: + pip install \ + -r requirements.txt \ + -r requirements-testing.txt \ + -r requirements-release.txt \ + -r requirements-tunnel.txt + lib-lint: python -m tox -e lint diff --git a/README.md b/README.md index fcf45bac51..c905173872 100644 --- a/README.md +++ b/README.md @@ -314,10 +314,10 @@ To start `proxy.py` from source code follow these instructions: - Install deps ```console - ❯ pip install -rrequirements.txt -rrequirements-testing.txt -rrequirements-tunnel.txt + ❯ make lib-dep ``` -- Run tests +- Optionally, run tests ```console ❯ make