mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 03:21:23 +00:00
It works now. --------- Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Tanish Manku <tanish2k09.dev@gmail.com> Co-authored-by: Michael Chung <michaelchung@michaels-mbp-2.home>
31 lines
464 B
Bash
Executable File
31 lines
464 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Install packages"
|
|
npm install
|
|
|
|
echo "Build Editor 3D"
|
|
nx build editor3d --verbose
|
|
|
|
echo "Change to project dir"
|
|
pushd apps/editor3d/
|
|
|
|
echo "List build directory files"
|
|
ls -lA build/
|
|
|
|
echo "Make output directory"
|
|
mkdir dist/
|
|
|
|
echo "Copy files to putput directory"
|
|
cp -r build/server/* dist/
|
|
cp -r build/client/* dist/
|
|
cp _headers dist/
|
|
#cp _redirects dist/
|
|
#cp "404.html" dist/
|
|
|
|
echo "List final files in build"
|
|
find dist/
|
|
|
|
|