zhaw-fup/Exercises/exercise-6/build.sh

8 lines
204 B
Bash
Raw Normal View History

2024-06-16 21:02:59 +00:00
for shape in "shape1" "shape2" "shape3" "iShape" "disc50"
do
pushd "${BASH_SOURCE%/*}" > /dev/null
2024-06-16 21:04:02 +00:00
ghc ./Shapes.hs -e "render 80 80 $shape"
2024-06-16 21:02:59 +00:00
mv shape.txt "$shape.txt"
popd > /dev/null
done