markdowny/scripts/setup.sh
2023-01-25 20:28:19 -06:00

14 lines
312 B
Bash
Executable file

# !/usr/bin/env bash
#mfgames-project:setup@v0.0.0
log() { echo "🌱 $(basename $0): $@"; }
cd $(dirname $(dirname $0))
#mfgames-project:setup
if [ -d node_modules ]
then
log "node_modules exists, not installing Yarn packages"
else
log "installing Yarn packages"
yarn install --frozen-lockfile
fi