Skip to content

Commit

Permalink
build: Add universal-sierra-compiler dependency (#1)
Browse files Browse the repository at this point in the history
* add universal-sierra-compiler dependency

* build: Add universal-sierra-compiler dependency

* build: switch to download from the master branch
  • Loading branch information
war-in authored Jan 10, 2024
1 parent 968e89f commit cde9359
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ plugin_dir=$(dirname "$(dirname "$current_script_path")")
# shellcheck source=./lib/utils.bash
source "${plugin_dir}/lib/utils.bash"

download_universal_sierra_compiler

mkdir -p "$ASDF_DOWNLOAD_PATH"

# TODO: Adapt this to proper extension and adapt extracting strategy.
Expand Down
4 changes: 4 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ list_all_versions() {
list_github_tags
}

download_universal_sierra_compiler() {
curl -L https://raw.githubusercontent.com/software-mansion/universal-sierra-compiler/master/scripts/install.sh | sh
}

download_release() {
local version filename url
version="$1"
Expand Down

0 comments on commit cde9359

Please sign in to comment.