gradio/scripts/build_frontend.sh
Ömer Faruk Özdemir 47b4b69290 Format-The-Codebase
- update scripts
2022-02-10 11:25:27 +03:00

11 lines
203 B
Bash

#!/bin/bash
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
echo "Please run the script from repo directory"
exit -1
else
echo "Building the frontend"
cd frontend
npm install
npm run build
fi