mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

Given the tendency for shell scripts to easily enter into a few levels of indentation and long line lengths, update the default to 2 spaces.
17 lines
405 B
Bash
Executable File
17 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# python version must match lowest supported (3.8)
|
|
major=3
|
|
minor=8
|
|
if ! python -c "import sys; assert sys.version_info.major == $major and sys.version_info.minor == $minor"; then
|
|
echo "python version not equal to expected $major.$minor: $(python --version)"
|
|
exit 1
|
|
fi
|
|
|
|
pushd ./requirements || exit
|
|
make clean
|
|
make all
|
|
popd || exit
|
|
|
|
cp requirements/build.txt docs/requirements.txt
|