homepage.js/react/resume/build.sh

12 lines
187 B
Bash
Raw Normal View History

2023-03-10 08:05:46 +01:00
#!/bin/sh
rm -rf dist/*
2023-03-11 15:15:29 +01:00
yarn run build $*
2023-03-10 08:05:46 +01:00
2023-03-11 15:15:29 +01:00
for f in ../../public/static/dist/*; do
if [ "$f" != ".gitignore" ]
then
rm -rf "$f"
fi
done
cp -r dist ../../public/static