Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1,465 additions
and 0 deletions.
- +2 −0 scripts/LaTeX-echoCREATEDATE
- +6 −0 scripts/LaTeX-git-commit-count
- +20 −0 scripts/LaTeX-gitstats
- +1,437 −0 scripts/gitstats
There are no files selected for viewing
| @@ -0,0 +1,2 @@ | ||
| #!/bin/bash | ||
| echo -e "\\SetCREATEDATE`date +{%Y}{%m}{%d}{%H}{%M}{%S}`\t%% {YYYY}{MM}{DD}{HH}{MM}{SS}" |
| @@ -0,0 +1,6 @@ | ||
| #!/bin/bash | ||
| ## \readgitstat{7} | ||
| reversiongit="`git-commit-count`" | ||
| shorthashgit="`git rev-parse --short HEAD`" | ||
| echo '\setcounter{reversiongit}{'${reversiongit}'}' | ||
| echo '\newcommand{\shorthashgit}{'${shorthashgit}'}' |
| @@ -0,0 +1,20 @@ | ||
| #!/bin/bash | ||
| dirpath="files/git/stats" | ||
| ### | ||
|
|
||
| rm -r "$dirpath" | ||
| if [ -z "$1" ] | ||
| then gitstats . "$dirpath" | ||
| else gitstats -c project_name="$1" . "$dirpath" | ||
| fi | ||
| cd "$dirpath" | ||
| for fullname in *.plot | ||
| do filename=${fullname%.plot} | ||
| sed 's/png/ps/g' "$fullname"|sed 's/ps transparent.*$/postscript/g' > "$filename-ps.plot" | ||
| gnuplot "$filename-ps.plot" | ||
| ps2pdf "$filename.ps" | ||
| pdfcrop "$filename.pdf" | ||
| rm "$filename-ps.plot" "$filename.ps" "$filename.pdf" | ||
| done | ||
| find . -name "*.dat" -delete | ||
| find . -name "*.plot" -delete |
Oops, something went wrong.