mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-03-16 00:22:49 +08:00
16 lines
381 B
Bash
Executable File
16 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
# script/bootstrap: Resolve dependencies that the application requires to run.
|
|
|
|
# Exit if any subcommand fails
|
|
set -e
|
|
|
|
# Ensure we're always running from the project root
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
|
|
brew bundle check >/dev/null 2>&1 || {
|
|
echo "==> Installing Homebrew dependencies…"
|
|
brew bundle
|
|
}
|
|
fi
|