stop tracking generated report.tex
All checks were successful
continuous-integration/drone/push Build is passing

also, look for `report.tex` in the new place from now on.
This commit is contained in:
surtur 2022-07-12 21:15:38 +02:00
parent 7b22723cb0
commit a2bc1eec6f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 7 additions and 20 deletions

@ -14,9 +14,15 @@ import (
const ( const (
outPrefix = "out/" outPrefix = "out/"
texDir = "tex/"
picsDir = "pics/" picsDir = "pics/"
) )
// GetPicsDirPrefix returns the path to the folder meant for tex files.
func GetTexDir() string {
return outPrefix + texDir
}
// GetPicsDirPrefix returns the path to the folder meant for plot pics. // GetPicsDirPrefix returns the path to the folder meant for plot pics.
func GetPicsDir() string { func GetPicsDir() string {
return outPrefix + picsDir return outPrefix + picsDir
@ -27,7 +33,7 @@ func Print() {
fmt.Fprint(os.Stderr, "\n* printing the report...\n\n") fmt.Fprint(os.Stderr, "\n* printing the report...\n\n")
// when run from the repo root // when run from the repo root
fname := "report/report.tex" fname := GetTexDir() + "report.tex"
fh, err := os.Open(fname) fh, err := os.Open(fname)
if err != nil { if err != nil {

@ -1,19 +0,0 @@
% Code generated by go generate; DO NOT EDIT.
% This file was generated by robots at
% 2022-06-15 23:30:32.080901953 +0200 CEST m=+0.000320625
% source: git.dotya.ml/wanderer/math-optim/report/report.tmpl
% This file is a part of the math-optim project.
% project homepage: https://git.dotya.ml/wanderer/math-optim/
\begin{tabular}{ ||l|c|c|c|c|c|| }
func name & minS & maxS & meanS & medianS & stdDevS & \\
161.032187 & \\
125.034840 & \\
80321.000000 & \\
85.036243 & \\
-4.466000 & \\
66.000800 & \\
\end{tabular}
% vim: ft=gotexttmpl.tex ts=2 bs=2