markdowny/scripts/setup.sh

15 lines
298 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
2023-01-26 14:19:00 +00:00
log "node_modules exists, not installing Node packages"
else
2023-01-26 14:19:00 +00:00
log "installing Node packages"
npm install --ci
fi