solo detectar gemas cuando las estamos compilando
This commit is contained in:
parent
aa826629cf
commit
983f2da04f
1 changed files with 2 additions and 0 deletions
2
Makefile
2
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 \
|
||||
|
|
Loading…
Reference in a new issue