mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
Co-authored-by: Michael Chung <michaelchung@Michaels-MacBook-Pro-2.local> Co-authored-by: Michael Chung <michaelchung@michaels-mbp-2.home>
21 lines
335 B
Bash
Executable File
21 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Run build script (TODO: Make strict)"
|
|
nx build editor2d
|
|
|
|
echo "Change to project dir"
|
|
pushd apps/editor2d/
|
|
|
|
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 final files in build"
|
|
find dist/
|
|
|