aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gen_plots.sh
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-11 09:34:17 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-11 09:34:17 -0400
commitde3a745e1af2e441de868c2aa4849102d376acb5 (patch)
treec2d7767600dc519b2613ddecaf7e53fb5e8867a2 /scripts/gen_plots.sh
parent03fab17277fee7387fd93a9c2774b1ebf3f80fe4 (diff)
Initial pass reformatting all code.
Use clang-format, LuaFormatter, and 100 character limit on lines.
Diffstat (limited to 'scripts/gen_plots.sh')
-rwxr-xr-xscripts/gen_plots.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/gen_plots.sh b/scripts/gen_plots.sh
index fcbe75c3..9cde1147 100755
--- a/scripts/gen_plots.sh
+++ b/scripts/gen_plots.sh
@@ -14,10 +14,8 @@ for rev in `hg tags | awk '{print $2}' | cut -d: -f1 | tac`; do
date=`hg log -r $rev | grep ^date | cut -d: -f2- | tr + - | cut -d- -f1`
hg update -r $rev -q
timestamp=`date -d "$date" "+%s"`
- counts=`cloc --force-lang=C,h --quiet --csv \
- --exclude-dir=doc,docs,scripts,themes,test,.github \
- --not-match-f=adeptsensedoc\\|tadoc . \
- | tail -n +3 | cut -d, -f2- | sort | tr '\n' ,`
+ counts=`cloc --force-lang=C,h --quiet --csv --exclude-dir=doc,docs,scripts,themes,test,.github \
+ --not-match-f=adeptsensedoc\\|tadoc . | tail -n +3 | cut -d, -f2- | sort | tr '\n' ,`
echo $timestamp,$counts
done | lua -e "
-- Filter counts from cloc into a data format readable by gnuplot.