From 16f27e478210c4a741922deab07f213b86543bb2 Mon Sep 17 00:00:00 2001 From: Pedro Crespo Date: Mon, 16 Mar 2020 11:51:49 +0100 Subject: [PATCH] Added reqs alias --- api/tests/Makefile | 2 ++ tests/e2e/requirements/Makefile | 3 ++- tests/swarm-deploy/Makefile | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/api/tests/Makefile b/api/tests/Makefile index 3547ff49b7f..de8c159c4e2 100644 --- a/api/tests/Makefile +++ b/api/tests/Makefile @@ -6,10 +6,12 @@ VENV_DIR ?= $(abspath $(ROOT_DIR)/.venv) .PHONY: all all: install tests +.PHONY: reqs requirements.txt: requirements.in # pip compiling $< @$(VENV_DIR)/bin/pip-compile --output-file $@ $< +reqs: requirements.txt # alias .PHONY: install install: $(VENV_DIR) requirements.txt ## installs dependencies diff --git a/tests/e2e/requirements/Makefile b/tests/e2e/requirements/Makefile index d7832d2ec84..5f1ea96ade9 100644 --- a/tests/e2e/requirements/Makefile +++ b/tests/e2e/requirements/Makefile @@ -3,11 +3,12 @@ ROOT_DIR = $(realpath $(CURDIR)/../../../) VENV_DIR ?= $(realpath $(ROOT_DIR)/.venv) - +.PHONY: reqs requirements.txt: requirements.in # pip compiling $< @$(VENV_DIR)/bin/pip-compile --output-file $@ $< +reqs: requirements.txt # alias .PHONY: install install: $(VENV_DIR) requirements.txt ## installs dependencies diff --git a/tests/swarm-deploy/Makefile b/tests/swarm-deploy/Makefile index bad6aefc0de..e070ead80fa 100644 --- a/tests/swarm-deploy/Makefile +++ b/tests/swarm-deploy/Makefile @@ -6,11 +6,12 @@ include ../../scripts/common.Makefile ROOT_DIR = $(abspath $(CURDIR)/../../) VENV_DIR ?= $(abspath $(ROOT_DIR)/.venv) - +.PHONY: reqs requirements.txt: requirements.in # pip compiling $< @$(VENV_DIR)/bin/pip-compile --output-file $@ $< +reqs: requirements.txt # alias .PHONY: install install: $(VENV_DIR) requirements.txt ## installs dependencies