Skip to content

Commit

Permalink
Allow make interactively inside a container
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Aug 10, 2021
1 parent bc98025 commit b4eb532
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ else
DIST_DEPS=dojo dbdocs
endif

ifeq ("$(wildcard /.dockerenv)","")
ifneq ($(origin CONTAINER),undefined)
DOCKER_CMD=docker exec -ti $(CONTAINER)
endif
endif

PHERKIN_OPTS ?= --tags ~@wip $(PHERKIN_EXTRA_OPTS)

Expand Down

0 comments on commit b4eb532

Please sign in to comment.