Store version for profiling

This commit is contained in:
mmcwilliams 2020-05-22 11:58:23 -04:00
parent 7972fe8d72
commit 958cae468d
1 changed files with 3 additions and 2 deletions

View File

@ -2,14 +2,15 @@
echo "Compiling GNAL v1"
VERSION=`openscad -v 2>&1 >/dev/null | awk '{print $3}'`
DIST=./dist/
NOTES=./notes/v1.csv
FILES=( "spacer" "top" "spiral_top" "spiral_bottom" )
SIZES=( "50ft" "100ft" ) #
SIZES=( "50ft" "100ft" )
mkdir -p $DIST
echo "file,file_hash,file_size,source_hash,source_size,render_time" > $NOTES
echo "version,cpu,file,file_hash,file_size,source_hash,source_size,render_time" > $NOTES
for SIZE in "${SIZES[@]}"
do