Updated script to run.

main
mmcwilliams 3 years ago
parent 98b98cad3b
commit 7972fe8d72
  1. 4
      scripts/v1.sh

@ -5,7 +5,7 @@ echo "Compiling GNAL v1"
DIST=./dist/
NOTES=./notes/v1.csv
FILES=( "spacer" "top" "spiral_top" "spiral_bottom" )
SIZES=( "50ft" "100ft" )
SIZES=( "50ft" "100ft" ) #
mkdir -p $DIST
@ -14,7 +14,7 @@ echo "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`

Loading…
Cancel
Save