File: test-docs.sh

package info (click to toggle)
skyfield 1.45%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,456 kB
  • sloc: python: 13,725; makefile: 275; sh: 132
file content (15 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e
cd "$(dirname ${BASH_SOURCE[0]})"

# Copy in files that would otherwise need to download.
ln -f ci/*.* skyfield/documentation

function cleanup {
    cd skyfield/documentation
    rm -f $(cd ../../ci; ls *.*)
}
trap cleanup EXIT

make -C skyfield/documentation doctest