dotfiles/.config/yadm/bootstrap.d/yalc.sh##class.Work,os.Darwin
Joe Lillibridge 9f8d332f72
wip
2024-12-04 12:06:08 -06:00

13 lines
284 B
Bash

#!/bin/bash
YARN=$(brew --prefix yarn)/bin/yarn
if (command -v "$YARN" >/dev/null 2>&1); then
# Install yalc. Needed for local-publish
echo "Installing yalc..."
if ! $YARN global add yalc; then
echo "Failed to install yalc" >&2
else
echo "Successfully installed yalc"
fi
fi