roc/www/build.sh
2022-11-05 01:26:17 -04:00

12 lines
353 B
Bash
Executable File

#!/usr/bin/env bash
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
set -euxo pipefail
# cd into the directory where this script lives.
# This allows us to run this script from the root project directory,
# which is what Netlify wants to do.
cp -f public/tutorial/index.html build/tutorial/index.html
cp -f public/*.css build/