Makefile in grape-jwt-authentication-2.2.0 vs Makefile in grape-jwt-authentication-2.3.0
- old
+ new
@@ -11,10 +11,11 @@
COMPOSE_RUN_SHELL_FLAGS ?= --rm
BASH_RUN_SHELL_FLAGS ?=
# Directories
VENDOR_DIR ?= vendor/bundle
+GEMFILES_DIR ?= gemfiles
# Host binaries
AWK ?= awk
BASH ?= bash
COMPOSE ?= docker-compose
@@ -32,9 +33,14 @@
GUARD ?= guard
RAKE ?= rake
RSPEC ?= rspec
RUBOCOP ?= rubocop
YARD ?= yard
+
+# Files
+GEMFILES ?= $(subst _,-,$(patsubst $(GEMFILES_DIR)/%.gemfile,%,\
+ $(wildcard $(GEMFILES_DIR)/*.gemfile)))
+TEST_GEMFILES := $(GEMFILES:%=test-%)
# Define a generic shell run wrapper
# $1 - The command to run
ifeq ($(MAKE_ENV),docker)
define run-shell