File: docTestGenerator.sh

package info (click to toggle)
r-cran-openmx 2.21.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,412 kB
  • sloc: cpp: 36,577; ansic: 13,811; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/bash

mkdir -p staging/doctest
for file in docs/source/*.rst
do
	new1=$(basename $file .rst)
	newname=${new1}.R
	inst/tools/sphinxToR.py < $file > staging/doctest/$newname
done