5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 06:41:42 +00:00

solo detectar gemas cuando las estamos compilando

This commit is contained in:
f 2020-02-06 14:18:14 -03:00
parent aa826629cf
commit 983f2da04f
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -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 \