gradio/scripts/build_frontend.sh
Ömer Faruk Özdemir c22ec0fb22 Dev Requirements
- add pwd check to the scripts
2022-01-28 17:14:14 +03:00

14 lines
206 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