mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 00:06:21 +00:00
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/:
|
../gems/:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
ifeq ($(MAKECMDGOALS),convert-gems)
|
||||||
gem_dir := $(shell readlink -f ../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 += $(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))
|
gems_musl := $(patsubst %,$(gem_dir)/%-x86_64-linux-musl.gem,$(gems))
|
||||||
|
endif
|
||||||
|
|
||||||
$(gem_dir)/%-x86_64-linux-musl.gem:
|
$(gem_dir)/%-x86_64-linux-musl.gem:
|
||||||
docker run \
|
docker run \
|
||||||
|
|
Loading…
Reference in a new issue