gradio/scripts/create_test_requirements.sh
Ömer Faruk Özdemir 910d5d376f Accelerate Tests
- Update requirements.txt
- Add a warning to create_test_requirements.sh
2022-02-07 14:52:58 +03:00

11 lines
309 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. Please run this script from unix or wsl!"
cd test
pip install --upgrade pip-tools
pip-compile
fi