resume.js/install_and_build.sh

12 lines
235 B
Bash
Executable File

#!/bin/sh
yarn install
yarn run build
while true; do
read -p "Do you want to copy dist to ../../public/static? (type n for no): " answer
if [ $answer = 'n' ] || [ $answer = 'N' ]; then exit 0; fi
cp dist ../../public/static
done