Skip to content

Commit 3a0b3a5

Browse files
committed
note on fetching GemDependencies from github
1 parent 37cc8bf commit 3a0b3a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/travis-ci/depinstall-osx.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ DEPDIR=${SCRIPTDIR}/deps
66
mkdir -p "${DEPDIR}"
77
cd "${DEPDIR}"
88

9+
## LATER: fetch the lastest GemDependencies package via
10+
github_list_releaseartifacts() {
11+
# call as: github_list_releaseartifacts umlaeute/Gem-dependencies
12+
curl -s https://api.github.com/repos/$1/releases/latest \
13+
| jq -r ".assets[] | select(.name | test(\"${spruce_type}\")) | .browser_download_url"
14+
}
15+
916
brewinstall() {
1017
brew install "$@" || (brew upgrade "$@" && brew cleanup "$@")
1118
}

0 commit comments

Comments
 (0)