Skip to content

Commit

Permalink
Added reqs alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Crespo committed Mar 16, 2020
1 parent 956382b commit 16f27e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/requirements/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/swarm-deploy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16f27e4

Please sign in to comment.