gem compiler can receive extra flags
This commit is contained in:
parent
6bb7555418
commit
3fb4a1b7d5
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ find build/ -type f |
|
||||||
GEM_VERSION="${GEM_VERSION}" \
|
GEM_VERSION="${GEM_VERSION}" \
|
||||||
EXTRA_PKGS="${EXTRA_PKGS}" \
|
EXTRA_PKGS="${EXTRA_PKGS}" \
|
||||||
EXTRA_GEMS="${EXTRA_GEMS}" \
|
EXTRA_GEMS="${EXTRA_GEMS}" \
|
||||||
|
GEM_COMPILER_FLAGS="${GEM_COMPILER_FLAGS}" \
|
||||||
/usr/local/bin/bootstrap
|
/usr/local/bin/bootstrap
|
||||||
|
|
||||||
dirname "${BUILT}" | xargs mkdir -p
|
dirname "${BUILT}" | xargs mkdir -p
|
||||||
|
|
|
@ -13,5 +13,5 @@ cd cache/
|
||||||
gem fetch --source=https://gems.${SUTTY} --platform=ruby --version ${GEM_VERSION} ${GEM_NAME}
|
gem fetch --source=https://gems.${SUTTY} --platform=ruby --version ${GEM_VERSION} ${GEM_NAME}
|
||||||
|
|
||||||
cd ../gems/
|
cd ../gems/
|
||||||
gem compile -V --prune --strip "strip --strip-unneeded" "../cache/${GEM_NAME}-${GEM_VERSION}.gem"
|
gem compile -V --prune --strip "strip --strip-unneeded" ${GEM_COMPILER_FLAGS} "../cache/${GEM_NAME}-${GEM_VERSION}.gem"
|
||||||
gem inabox -o "${GEM_NAME}-${GEM_VERSION}-${PLATFORM}.gem" --host https://${HTTP_BASIC_USER}:${HTTP_BASIC_PASSWORD}@gems.${SUTTY}
|
gem inabox -o "${GEM_NAME}-${GEM_VERSION}-${PLATFORM}.gem" --host https://${HTTP_BASIC_USER}:${HTTP_BASIC_PASSWORD}@gems.${SUTTY}
|
||||||
|
|
Loading…
Reference in a new issue