File: run_builddocs.sh

package info (click to toggle)
nipype 1.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,260 kB
  • sloc: python: 156,463; javascript: 9,246; tcl: 608; sh: 485; makefile: 168
file content (11 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
set -e
set -x
set -u

WORKDIR=${WORK:-/work}

mkdir -p ${WORKDIR}/docs
make html 2>&1 | tee ${WORKDIR}/builddocs.log
cp -r /src/nipype/doc/_build/html/* ${WORKDIR}/docs/
cat ${WORKDIR}/builddocs.log && if grep -q "ERROR" ${WORKDIR}/builddocs.log; then false; else true; fi