gradio/scripts/format_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

12 lines
201 B
Bash
Executable File

#!/bin/bash -eu
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pnpm_required
echo "Formatting the frontend... Also we'll do type checking with TypeScript."
pnpm i
pnpm format:write
pnpm ts:check