Compare commits
2 commits
6bb7555418
...
404c4af5b4
Author | SHA1 | Date | |
---|---|---|---|
|
404c4af5b4 | ||
|
3fb4a1b7d5 |
2 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,8 @@ find build/ -type f |
|
||||||
while read BUILD BUILT GEM_NAME GEM_VERSION; do
|
while read BUILD BUILT GEM_NAME GEM_VERSION; do
|
||||||
test -f "${BUILT}" && continue
|
test -f "${BUILT}" && continue
|
||||||
|
|
||||||
|
unset EXTRA_PKGS EXTRA_GEMS GEM_COMPILER_FLAGS
|
||||||
|
|
||||||
source "${BUILD}"
|
source "${BUILD}"
|
||||||
|
|
||||||
HTTP_BASIC_USER="${HTTP_BASIC_USER}" \
|
HTTP_BASIC_USER="${HTTP_BASIC_USER}" \
|
||||||
|
@ -23,6 +25,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