7 lines
206 B
Bash
Executable file
7 lines
206 B
Bash
Executable file
for shape in "shape1" "shape2" "shape3" "iShape" "disc50"
|
|
do
|
|
pushd "${BASH_SOURCE%/*}" > /dev/null
|
|
ghc ./Shapes.hs -e "render 500 500 $shape"
|
|
mv shape.txt "$shape.txt"
|
|
popd > /dev/null
|
|
done
|