Skip to content

Commit

Permalink
#17 show time
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 5, 2021
1 parent 10eb8b8 commit 065b9df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ TOKEN=

all: env $(TARGET)/repositories.csv cleanup clone filter measure aggregate zip

# Record the moment in time, when processing started.
$(TARGET)/start.txt: $(TARGET)/temp
ruby -e "print Time.now.to_i" > $(TARGET)/start.txt

# Check the quality of code
lint:
flake8 metrics/
Expand Down
3 changes: 3 additions & 0 deletions tex/report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
\input{$TARGET/temp/list-of-metrics.tex}
\end{itemize}
It took \iexec{ruby -e "printf('\%0.2f', (Time.now.to_i - File.read('$TARGET/temp/start.txt').to_i).to_f / 3600)"} hours
to generate this report.
If any questions or suggestions, just \href{mailto:yegor256@gmail.com}{email me}.
\end{document}

0 comments on commit 065b9df

Please sign in to comment.