deleted main, wrote script for non-cabal-dependencies

This commit is contained in:
Stefan Dresselhaus
2014-01-20 14:12:02 +01:00
parent 475bcc107b
commit e56d995958
3 changed files with 709 additions and 640 deletions

27
deps/getDeps.sh vendored Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
echo "cloning repositories"
if [ ! -d "hsSDL2" ]
then
git clone https://github.com/Lemmih/hsSDL2 hsSDL2
else
cd hsSDL2
git pull
cd ..
fi
echo "trying to build"
for d in `find . -maxdepth 1 -type d`
do
if [ "$d" == "." ]
then
continue
else
echo "building: $d ..."
cd "$d"
cabal configure
cabal build
cd ..
fi
done