puter/packages/phoenix/tools/build_tar.sh

22 lines
430 B
Bash
Raw Normal View History

2024-04-13 00:53:44 +00:00
if [ $(basename "$(pwd)") != "phoenix" ]; then
echo "This should be run in the dev-ansi-termial repo"
exit 1
fi
export CONFIG_FILE='config/release.js'
npx rollup -c rollup.config.js
if [ -d ./release ]; then
rm -rf ./release/*
fi
mkdir -p release
mkdir -p release/puter-shell
cp -r ./dist/* ./release
2024-05-17 17:26:44 +00:00
# cd ../dev-puter-shell
# npx rollup -c rollup.config.js
# cp -r ./dist/* ../phoenix/release/puter-shell
# cd -