debian-skyfield/test-docs.sh

16 lines
289 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
cd "$(dirname ${BASH_SOURCE[0]})"
# Copy in files that would otherwise need to download.
ln -f ci/*.* skyfield/documentation
2019-07-21 13:59:58 +02:00
function cleanup {
cd skyfield/documentation
rm -f $(cd ../../ci; ls *.*)
2019-07-21 13:59:58 +02:00
}
trap cleanup EXIT
make -C skyfield/documentation doctest