S1 / render.sh
GUI-STUDIO
changes
5c6ca74
Raw History Blame Contribute Delete
778 Bytes
#!/usr/bin/env bash
# exit on error
set -o errexit
# Install UV
echo "βŒ› Installing UV ..."
curl -LsSf https://astral.sh/uv/install.sh | sh
# Prioritize the actual UV installation
export PATH="$HOME/.local/bin:$PATH"
echo "πŸ” Checking UV ..."
command -v uv
uv --version
echo "πŸ” Checking UVX ..."
command -v uvx
uvx --version
# Install Hugging Face CLI
echo "βŒ› Installing Hugging Face CLI ..."
export HF_CLI_VERBOSE_PIP=1
curl -LsSf https://hf.co/cli/install.sh | bash -s -- --exclude-skill
# Verify Hugging Face CLI
echo "πŸ” Checking Hugging Face CLI ..."
command -v hf
hf version
hf buckets --help
# Install dependencies
echo "βŒ› Installing dependencies ..."
bun install
# build
echo "πŸ—οΈ Running build ..."
bun run build:tsdown
echo "βœ… Shell done"