project-layout/scripts/build.sh

16 lines
264 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
log "cleaning old files"
2022-07-18 04:41:21 +00:00
rm -f *.epub *.pdf
log "installing NPM"
2022-07-18 04:39:05 +00:00
npm install --ci
log "running build"
2022-07-18 04:39:05 +00:00
npm run build