mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Support installations with homebrew (macOS)
The officially recommended installation for Mac is via Homebrew.
This commit is contained in:
@@ -9,7 +9,8 @@ if nodenv install --skip-existing; then
|
||||
echo "Correct Node version is installed."
|
||||
else
|
||||
echo "Upgrading node-build:"
|
||||
git -C "$(nodenv root)"/plugins/node-build pull
|
||||
# If homebrew (macOS) installed, try that first. Otherwise look in plugins directory.
|
||||
brew upgrade node-build || git -C "$(nodenv root)"/plugins/node-build pull
|
||||
|
||||
nodenv install
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user