allegro/scripts/setup-node.sh

15 lines
254 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# Installs the required Node packages
if [ -d ./node_modules ]
then
echo "$(basename $0): node_modules already exists"
else
echo "$(basename $0): setting up node"
npm install --ci
fi
# Versions
# 2022-08-11 - Initial version