Compare commits

...
Author SHA1 Message Date
Brandon Thomas bd9d85058c copy client 2025-04-13 20:38:56 -04:00
Brandon Thomas c4c4d77bdb test 2025-04-13 20:33:29 -04:00
Brandon Thomas 8e120e02de test 2025-04-13 20:23:38 -04:00
Brandon Thomas d8607168fb test 2025-04-13 20:15:15 -04:00
Brandon Thomas bb611b850d test 2025-04-13 20:09:36 -04:00
Brandon Thomas 3ef364fdbd test 2025-04-13 19:59:57 -04:00
Brandon Thomas 5016bc64bd test 2025-04-13 19:39:12 -04:00
Brandon Thomas 8aa3f2ba56 debug 2025-04-13 19:29:25 -04:00
Brandon Thomas 6871f5ea45 env 2025-04-13 19:28:27 -04:00
Brandon Thomas 1b198e2334 testing 2025-04-13 19:02:50 -04:00
Brandon Thomas 17a0204131 netlify build test 2025-04-13 18:48:34 -04:00
Brandon Thomas 52c361ed8e debug branch build 2025-04-13 13:47:29 -04:00
+53 -6
View File
@@ -1,6 +1,6 @@
#!/bin/bash
set -euxo pipefail
#set -euxo pipefail
# echo "Run build script"
# npm install
@@ -23,27 +23,74 @@ set -euxo pipefail
# # echo "List files after build"
# # find dist/
#printf "==================================="
#echo "List Env"
#env
printf "==================================="
echo "Run build script (TODO: Make strict)"
nx build editor3d
echo "Change to project dir"
pushd apps/editor3d/
printf "==================================="
echo "Current dir (1)"
pwd
echo "List directory files"
printf "==================================="
echo "List directory files (1)"
pwd
ls -lA .
echo "List build directory files"
printf "==================================="
echo "List directory files (2)"
#find / | grep build/server
find / 2> /dev/null | grep build/server
printf "==================================="
echo "LIST DIRECTORY FILES (3)"
#find / | grep build/server
find / 2> /dev/null | grep EnvironmentVar
find / 2> /dev/null | grep PageEnigma
printf "==================================="
echo "Find build manifest"
find . | grep manifest.json
printf "==================================="
echo "Change to project dir"
pushd apps/editor3d/
printf "==================================="
echo "Current dir (2)"
pwd
printf "==================================="
echo "List directory files (4)"
pwd
ls -lA .
printf "==================================="
echo "List build directory files"
ls -lA build/
mkdir dist/
printf "==================================="
echo "Copy files"
cp -r build/server/* dist/
cp -r build/client/* dist/
#echo "Copy netlify configs into dist"
#cp _headers dist/
cp _headers dist/
#cp _redirects dist/
#echo "Copy netlify 404.html page into dist"
#cp "404.html" dist/
printf "==================================="
echo "List files after build"
find dist/