mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Expect Homebrew to already be installed and in $PATH
This commit is contained in:
parent
2caa227e10
commit
c292b1aaf0
1 changed files with 3 additions and 11 deletions
|
@ -876,17 +876,9 @@ def windows_build_task(name, package=True, arch="x86_64", worker_type=None):
|
|||
|
||||
|
||||
def with_homebrew(task, brewfiles):
|
||||
task = task.with_script("""
|
||||
mkdir -p "$HOME/homebrew"
|
||||
export PATH="$HOME/homebrew/bin:$PATH"
|
||||
which brew || curl -L https://github.com/Homebrew/brew/tarball/master \
|
||||
| tar xz --strip 1 -C "$HOME/homebrew"
|
||||
""")
|
||||
for brewfile in brewfiles:
|
||||
task = task.with_script("""
|
||||
time brew bundle install --no-upgrade --file={brewfile}
|
||||
""".format(brewfile=brewfile))
|
||||
return task
|
||||
for brewfile in brewfiles:
|
||||
task.with_script("time brew bundle install --no-upgrade --file=" + brewfile)
|
||||
return task
|
||||
|
||||
|
||||
def macos_build_task(name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue