mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
20 lines
331 B
Bash
Executable File
20 lines
331 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Run build script (TODO: Make strict)"
|
|
yarn run build2
|
|
|
|
echo "Copy test files into dist"
|
|
cp -r test/* dist/
|
|
|
|
echo "Copy netlify configs into dist"
|
|
cp _headers dist/
|
|
cp _redirects dist/
|
|
|
|
echo "Copy netlify 404.html page into dist"
|
|
cp "404.html" dist/
|
|
|
|
echo "List files after build"
|
|
find dist/
|