mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
5c44ae3536
Restore Interpretation, Live, Auth, Queueing Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
12 lines
260 B
Bash
Executable File
12 lines
260 B
Bash
Executable File
#!/bin/bash
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
echo "Please run the script from repo directory"
|
|
exit -1
|
|
else
|
|
echo "Formatting frontend with prettier, also type checking with TypeScript"
|
|
cd ui
|
|
pnpm i
|
|
pnpm format:write
|
|
pnpm ts:check
|
|
fi
|