markdowny/scripts/setup.sh

15 lines
312 B
Bash
Raw Normal View History

# !/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