14 lines
298 B
Bash
Executable file
14 lines
298 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 Node packages"
|
|
else
|
|
log "installing Node packages"
|
|
npm install --ci
|
|
fi
|