Make shapes contained in output

This commit is contained in:
Manuel Thalmann 2024-06-16 23:31:56 +02:00
parent d017ccd848
commit cf5867e616

View file

@ -1,7 +1,7 @@
for shape in "shape1" "shape2" "shape3" "iShape" "disc50"
do
pushd "${BASH_SOURCE%/*}" > /dev/null
ghc ./Shapes.hs -e "render 80 80 $shape"
ghc ./Shapes.hs -e "render 500 500 $shape"
mv shape.txt "$shape.txt"
popd > /dev/null
done