Merge remote-tracking branch 'origin/master'

This commit is contained in:
mmcwilliams 2020-05-22 12:00:07 -04:00
commit 0b1aaadb38
1 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
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" )
@ -9,12 +10,12 @@ 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
:
mkdir -p "$DIST/$SIZE_v1"
mkdir -p "${DIST}/${SIZE}_v1"
srchash=`sha256sum "${SIZE}_v1/gnal_${SIZE}.scad" | awk '{ print $1 }'`
srcsize=`wc -c < "${SIZE}_v1/gnal_${SIZE}.scad"`
srcsize=`echo $srcsize | xargs`