tofvesson.se/start.sh
2024-12-31 00:15:30 +01:00

14 lines
170 B
Bash

#!/bin/sh
if ! npm i
then
echo "Failed to install dependencies" >&2
exit 4
fi
if ! npm run build
then
echo "Failed to build project" >&2
exit 5
fi
npm run start