mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
28 lines
417 B
Bash
Executable File
28 lines
417 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Build Editor 3D"
|
|
nx build editor3d
|
|
|
|
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/
|
|
|
|
|