2
0
mirror of https://github.com/gradio-app/gradio.git synced 2024-12-21 02:19:59 +08:00
gradio/scripts/format_frontend.sh
Yuichiro Tachibana (Tsuchiya) 0cf93e50b8
Make shell scripts executable and fix their shebangs ()
* 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