mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
42 lines
769 B
Bash
Executable File
42 lines
769 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
# echo "Run build script"
|
|
# npm install
|
|
# npm run build
|
|
#
|
|
# #echo "Emit built files."
|
|
# #pwd
|
|
# #find .
|
|
#
|
|
# # 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/
|
|
|
|
echo "Run build script (TODO: Make strict)"
|
|
nx build editor3d
|
|
|
|
echo "Change to project dir"
|
|
pushd apps/editor3d/
|
|
|
|
#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/
|
|
|