mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
c22ec0fb22
- add pwd check to the scripts
11 lines
267 B
Bash
11 lines
267 B
Bash
#!/bin/bash
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
echo "Please run the script from repo directory"
|
|
exit -1
|
|
else
|
|
echo "Creating requirements under test/requirements.txt using requirements.in"
|
|
cd test
|
|
pip install --upgrade pip-tools
|
|
pip-compile
|
|
fi
|