From 983f2da04f9a168a2c4354483ffcd6ea89bf26ee Mon Sep 17 00:00:00 2001 From: f Date: Thu, 6 Feb 2020 14:18:14 -0300 Subject: [PATCH] solo detectar gemas cuando las estamos compilando --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 45fbf66..7815424 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,12 @@ load: ../gems/: mkdir -p $@ +ifeq ($(MAKECMDGOALS),convert-gems) gem_dir := $(shell readlink -f ../gems) gems := $(shell bundle show --paths | xargs -I {} sh -c 'test -f {}/ext/*/extconf.rb && basename {}') gems += $(shell bundle show --paths | xargs -I {} sh -c 'test -f {}/ext/extconf.rb && basename {}') gems_musl := $(patsubst %,$(gem_dir)/%-x86_64-linux-musl.gem,$(gems)) +endif $(gem_dir)/%-x86_64-linux-musl.gem: docker run \