gradio/scripts/build_frontend.sh
Yuichiro Tachibana (Tsuchiya) 0cf93e50b8
Make shell scripts executable and fix their shebangs (#6901)
* Add executable permission to scripts/*.sh

* Set -eu to the shebang in /scripts/*.sh

* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08:00

13 lines
202 B
Bash
Executable File

#!/bin/bash -eu
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pnpm_required
python scripts/generate_theme.py
echo "Building the frontend..."
pnpm i --frozen-lockfile --ignore-scripts
pnpm build