File: test-docs.sh

package info (click to toggle)
skyfield 1.53%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 2,688 kB
  • sloc: python: 14,800; makefile: 278; sh: 41
file content (15 lines) | stat: -rwxr-xr-x 262 bytes parent folder | download | duplicates (2)
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/*.* documentation/

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

make -C documentation doctest